private void OnSldStyleChanged(swPropMgrPageTextBoxStyle_e oldValue, swPropMgrPageTextBoxStyle_e newValue) { if (SControl != null && oldValue != newValue) { SControl.Style = (int)newValue; } }
/// <summary> /// Constructor for text box options /// </summary> /// <param name="style">Text box control style as defined in <see href="http://help.solidworks.com/2016/english/api/swconst/solidworks.interop.swconst~solidworks.interop.swconst.swpropmgrpagetextboxstyle_e.html">swPropMgrPageTextBoxStyle_e Enumeration</see></param> public TextBoxOptionsAttribute(swPropMgrPageTextBoxStyle_e style = 0) { Style = style; }