Classes
AddedRemovedEvent
AlertElement
AnchorContainerElement
ArrowShape
ButtonElement
CanvasElement
CanvasManager
CheckboxElement
CheckboxSkinElement
CollectionChangedEvent
CollectionSort
ColorPickerButtonElement
ColorPickerElement
ContainerBaseElement
CursorDefinition
DataGridColumnDefinition
DataGridDataRenderer
DataGridElement
DataGridHeaderColumnDividerSkinElement
DataGridHeaderElement
DataGridHeaderItemRenderer
DataGridItemData
DataGridItemRendererBase
DataGridLabelItemRenderer
DataListData
DataListElement
DataRendererBaseElement
DataRendererLabelElement
DatePickerButtonElement
DatePickerElement
DispatcherEvent
DrawMetrics
DropdownArrowButtonSkinElement
DropdownBaseElement
DropdownElement
ElementEvent
ElementGridItemClickEvent
ElementKeyboardEvent
ElementListItemClickEvent
ElementMouseEvent
ElementMouseWheelEvent
EllipseShape
EventDispatcher
FillBase
GridContainerElement
GridContainerRowColumnDefinition
ImageElement
IpInputElement
LabelElement
LinearGradientFill
ListCollection
ListContainerElement
ProgressElement
RadioButtonElement
RadioButtonSkinElement
RoundedRectangleShape
ScrollBarElement
ScrollButtonSkinElement
ShapeBase
SkinnableElement
SolidFill
StyleableBase
StyleChangedEvent
StyleData
StyleDefinition
StyleProxy
TextAreaElement
TextElement
TextFieldElement
TextInputElement
TimeInputElement
ToggleButtonElement
ToggleButtonGroup
Tween
ViewportElement


CheckboxElement

Checkbox adds "halfSelected" versions of the 4 button states and assigns a default skin.
The HalfSelected state may only be set programmatically.
Checkbox half selected states:
"halfSelectedUp", "halfSelectedOver", "halfSelectedDown", "halfSelectedDisabled".
Being a SkinnableElement, Checkbox proxies its styles to its skins.
You may assign custom skins and assign any styles you wish to apply to all skins to the Checkbox itself.
See the default skin CheckBoxSkin for additional skin styles.

Inheritance:     CheckboxElement ➞ RadioButtonElementToggleButtonElementButtonElementSkinnableElementCanvasElementStyleableBaseStyleDefinitionEventDispatcher ➞ Object

Styles
Show Inherited
Style Defined By
HalfSelectedDisabledSkinClass     :    CanvasElement CheckboxElement
The CanvasElement constructor to be used for the checkbox skin when the checkbox is in the "halfSelectedDisabled" state.
This will override SkinClass when equal or higher priority than SkinClass.
 
HalfSelectedDisabledSkinStyle     :    StyleDefinition CheckboxElement
The StyleDefinition or [StyleDefinition] array to apply to the "halfSelectedDisabled" state skin element.
 
HalfSelectedDisabledTextColor     :    String CheckboxElement
Hex color value to be used for the checkbox label when the checkbox is in the "halfSelectedDisabled" state. Format like "#FF0000" (red).
This will override TextColor when equal or higher priority than TextColor.
 
HalfSelectedDownSkinClass     :    CanvasElement CheckboxElement
The CanvasElement constructor to be used for the checkbox skin when the checkbox is in the "halfSelectedDown" state.
This will override SkinClass when equal or higher priority than SkinClass.
 
HalfSelectedDownSkinStyle     :    StyleDefinition CheckboxElement
The StyleDefinition or [StyleDefinition] array to apply to the "halfSelectedDown" state skin element.
 
HalfSelectedDownTextColor     :    String CheckboxElement
Hex color value to be used for the checkbox label when the checkbox is in the "halfSelectedDown" state. Format like "#FF0000" (red).
This will override TextColor when equal or higher priority than TextColor.
 
HalfSelectedOverSkinClass     :    CanvasElement CheckboxElement
The CanvasElement constructor to be used for the checkbox skin when the checkbox is in the "halfSelectedOver" state.
This will override SkinClass when equal or higher priority than SkinClass.
 
HalfSelectedOverSkinStyle     :    StyleDefinition CheckboxElement
The StyleDefinition or [StyleDefinition] array to apply to the "halfSelectedOver" state skin element.
 
HalfSelectedOverTextColor     :    String CheckboxElement
Hex color value to be used for the checkbox label when the checkbox is in the "halfSelectedOver" state. Format like "#FF0000" (red).
This will override TextColor when equal or higher priority than TextColor.
 
HalfSelectedUpSkinClass     :    CanvasElement CheckboxElement
The CanvasElement constructor to be used for the checkbox skin when the checkbox is in the "halfSelectedUp" state.
This will override SkinClass when equal or higher priority than SkinClass.
 
HalfSelectedUpSkinStyle     :    StyleDefinition CheckboxElement
The StyleDefinition or [StyleDefinition] array to apply to the "halfSelectedUp" state skin element.
 
HalfSelectedUpTextColor     :    String CheckboxElement
Hex color value to be used for the checkbox label when the checkbox is in the "halfSelectedUp" state. Format like "#FF0000" (red).
This will override TextColor when equal or higher priority than TextColor.
 


Events
Show Inherited


Public Functions
Show Inherited
Function Defined By
CheckboxElement() [Constructor] CheckboxElement
Creates new CheckboxElement instance.
 
setSelected(isSelected) [Override] CheckboxElement
Sets the selected state of the Checkbox.
  isSelected     :    boolean
Checkbox adds a half selected state by setting isSelected = 2.
0 (or false) is unchecked, 1 (or true) is checked, and 2 is half checked.
 


Internal Members
Show Inherited


Internal Functions
Show Inherited