Class SwitchFormInputView
Checkbox switch for the
Namespace: Esri.ArcGISRuntime.Toolkit.Maui.Primitives
Assembly: Esri.ArcGISRuntime.Toolkit.Maui.dll
Syntax
public class SwitchFormInputView : TemplatedView
Constructors
| Improve this Doc View SourceSwitchFormInputView()
Initializes an instance of the SwitchFormInputView class.
Declaration
public SwitchFormInputView()
Fields
| Improve this Doc View SourceElementProperty
Identifies the Element dependency property.
Declaration
public static readonly BindableProperty ElementProperty
Field Value
Type | Description |
---|---|
BindableProperty |
IsCheckedProperty
Identifies the
Declaration
public static readonly DependencyProperty IsCheckedProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
SwitchViewName
Template name of the
Declaration
public const string SwitchViewName = "SwitchView"
Field Value
Type | Description |
---|---|
String |
Properties
| Improve this Doc View SourceElement
Gets or sets the FieldFormElement.
Declaration
public FieldFormElement? Element { get; set; }
Property Value
Type | Description |
---|---|
Nullable<FieldFormElement> |
IsChecked
Gets or sets a value indicating whether this switch is checked or not.
Declaration
public bool IsChecked { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
| Improve this Doc View SourceOnApplyTemplate()
Declaration
protected override void OnApplyTemplate()