private void OnSldStyleChanged(swPropMgrPageComboBoxStyle_e oldValue, swPropMgrPageComboBoxStyle_e newValue) { if (SControl != null && newValue != oldValue) { SControl.Style = (int)newValue; } }
/// <summary> /// Constructor for specifying style of combo box /// </summary> /// <param name="style">Specific style applied for combo box control. /// Refer <see href="http://help.solidworks.com/2016/english/api/swconst/solidworks.interop.swconst~solidworks.interop.swconst.swpropmgrpagecomboboxstyle_e.html">swPropMgrPageComboBoxStyle_e Enumeration</see> for more information. /// Use 0 for default style</param> public ComboBoxOptionsAttribute(swPropMgrPageComboBoxStyle_e style = 0) { Style = style; }