Enum PropertyEntryButton
- Namespace
- CADability.UserInterface
- Assembly
- CADability.dll
The buttons and click targets of an entry in the property page, passed to ButtonClicked(PropertyEntryButton) to tell which one the user clicked. Which of them an entry shows follows from its PropertyEntryType flags.
public enum PropertyEntryButton
Fields
cancel = 3The cancel button (CancelButton), e.g. to abort an action.
check = 4The check box of a Checkable entry; the entry toggles its state and reflects it in its Value.
contextMenu = 0The context menu button at the right end of the entry. The property page shows the entry's ContextMenu itself and does not report this click.
directMenu = 7The arrow of a DirectMenu entry, also sent when Enter is pressed on such an entry; the entry executes its command.
doubleclick = 8The label of the selected entry was double clicked.
dropDown = 1The drop down button of a DropDown entry. The property page shows the list of GetDropDownList() itself and does not report this click.
locked = 6The lock symbol of a Lockable entry; the entry toggles IsLocked.
ok = 2The OK button (OKButton), e.g. to finish an action.
value = 5The value part of a ValueAsButton entry, whose value is not editable but acts as a button.