Class SpeedEnumButton
Implements SpeedButton for selecting of the enum values.
public class SpeedEnumButton : SpeedButtonWithListPopup, IBaseObjectWithAttr, IBaseObjectWithId, INotifyPropertyChanged, IDisposableObject, IBaseObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, IControl, IDisposable, IWin32Window, ILayoutItem, INotifyDataErrorInfo, ICommandSource
- Inheritance
-
SpeedEnumButton
- Implements
- Derived
Constructors
- SpeedEnumButton()
Initializes a new instance of the SpeedEnumButton class.
- SpeedEnumButton(Control)
Initializes a new instance of the SpeedEnumButton class.
Fields
- DefaultPopupKind
Gets or sets the default kind of popup window used by the control.
Properties
- EnumType
Gets or sets the type of the enumeration which values are shown in the popup.
- ExcludeValues
Gets or sets the values to be excluded from the popup list.
- IncludeValuePredicate
Gets or sets a predicate used to determine whether a given enum element should be included in the popup list.
Methods
- GetItems()
Retrieves a collection of items to be displayed in a list control shown in the popup.
- SetDisplayText(object, string)
Sets display text of the enum item.
- SetValue(object, bool)
Sets the value and optionally updates the enumeration type.