Class ListControlItem
Custom item for ListBox, ComboBox or other ListControl descendants. This class has Text, Value and other item properties.
public class ListControlItem : BaseControlItem, IBaseControlItem, IBaseObject
- Inheritance
-
ListControlItem
- Implements
- Derived
Constructors
- ListControlItem()
Initializes a new instance of the ListControlItem class.
- ListControlItem(string, Action?)
Initializes a new instance of the ListControlItem class.
- ListControlItem(string, object?)
Initializes a new instance of the ListControlItem class.
Properties
- Action
Gets or sets Action associated with this ListControlItem instance.
- Alignment
Gets or sets alignment of the item.
- BackgroundColor
Gets or sets background color of the item.
- Border
Gets or sets border of the item.
- CanRemove
Gets or sets whether item can be removed.
- CheckBoxAllowAllStatesForUser
Gets or sets whether user can set the checkbox to the third state by clicking. If property is null (default), control's setting is used.
- CheckBoxThreeState
Gets or sets a value indicating whether checkbox will allow three check states rather than two. If property is null (default), control's setting is used.
- CheckBoxVisible
Gets or sets whether to show check box inside the item. This property (if specified) overrides global checkboxes visibility setting in the control.
- CheckState
Gets or sets state of the check box associated with the item.
- DisabledImage
Gets or sets disabled Image associated with the item.
- DoubleClickAction
Gets or sets Action which is executed on mouse double click.
- ForegroundColor
Gets or sets foreground color of the item.
- MinHeight
Gets or sets minimal item height.
- SelectedImage
Gets or sets Image associated with the item when it is selected.
- SvgImageSize
Gets or sets size of the svg image.
- Text
Gets or sets text which is displayed in the ListControl.
Methods
- ToString()
Returns a string that represents the current object.