Option box control in SOLIDWORKS Property Page with SwEx.PMPage framework

Edit ArticleEdit Article

Option box control
Option box control

Options group can be defined by decorating the property of type Enum with OptionBoxAttribute.

using CodeStack.SwEx.Common.Attributes;
using CodeStack.SwEx.PMPage.Attributes;

public class OptionBoxDataModel
{
    public enum Options_e
    {
        Option1,
        Option2,
        [Title("Third Option")]
        Option3
    }

    [OptionBox]
    public Options_e Options { get; set; }
}

Product of Xarial Product of Xarial