Table of Contents

Enum ComboBoxStyles

Namespace
Hymma.Solidworks.Addins
Assembly
Hymma.Solidworks.Addins.dll

styles that can be used on a combobox

public enum ComboBoxStyles

Fields

AvoidSelectionText = 8

The item the user selects in the attached drop-down list does not appear in the combo box. Instead, the user's selection causes the add-in to get a callback via SelectionChanged

EditBoxReadOnly = 4

User can only select a value from the attached drop-down list for the combo box

You can set EditBoxReadOnly either before or after the PropertyManager page is displayed. If set after the PropertyManager page is displayed and the box contains editable text, then that text cannot be edited by the user.
However, you can use EditText to edit the text in the combo box.

EditableText = 2

Allows editing of the text in the combo box

Sorted = 1

Sort the items in the attached drop-down list of the combo box in alphabetical order