Class Check
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
- API Level:
- preview
The Check is a widget that allows for toggling a value between true and false.
C#Copypublic class Check : Layout, IAccessibleObject
- Inheritance
- Implements
Constructors
Declaration
C#Copypublic Check(EvasObject parent)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | parent | The EvasObject to which the new check will be attached as a child. |
API Level: preview
Properties
Declaration
C#Copypublic bool IsChecked { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
When an object is checked, the value will be set to true. Conversely, will be set to false.
API Level: preview
Methods
Declaration
C#Copyprotected override IntPtr CreateHandle(EvasObject parent)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | parent | Parent EvasObject. |
Returns
Type | Description |
---|---|
System.IntPtr | Handle IntPtr. |
Overrides
API Level: preview
Events
Declaration
C#Copypublic event EventHandler<CheckStateChangedEventArgs> StateChanged
Event Type
Type | Description |
---|---|
System.EventHandler<CheckStateChangedEventArgs> |