A component that allows users to toggle between enabled and disabled states.
For more examples, visit the Storybook.
StudsSwitch
ParametersGets or sets the value of the switch. True represents on/checked, false represents off/unchecked.
Gets or sets the callback that is invoked when the Value is changed.
Gets or sets the callback that is invoked when the switch is toggled.
Specifies additional custom attributes that will be rendered by the input element.
Gets or sets the name attribute of the switch.
If true, the switch will be disabled and cannot be toggled.
Gets or sets the tab index for the switch.
Specifies additional custom attributes that will be rendered by the component.
Gets or sets the callback that is invoked when the mouse enters an item.
Gets or sets the callback that is invoked when the mouse leaves an item.
A callback that will be invoked when the user right-clicks the component. Commonly used to display a context menu.
Gets or sets the culture used to display localizable data (numbers, dates). Set by default to “CultureInfo.CurrentCulture”.
Gets or sets the inline CSS style.
Gets or sets a value indicating whether this “T:Studs.StudsComponent” is visible. Invisible components are not rendered.
For more examples, visit the Storybook.
StudsSwitch
ParametersGets or sets the value of the switch. True represents on/checked, false represents off/unchecked.
Gets or sets the callback that is invoked when the Value is changed.
Gets or sets the callback that is invoked when the switch is toggled.
Specifies additional custom attributes that will be rendered by the input element.
Gets or sets the name attribute of the switch.
If true, the switch will be disabled and cannot be toggled.
Gets or sets the tab index for the switch.
Specifies additional custom attributes that will be rendered by the component.
Gets or sets the callback that is invoked when the mouse enters an item.
Gets or sets the callback that is invoked when the mouse leaves an item.
A callback that will be invoked when the user right-clicks the component. Commonly used to display a context menu.
Gets or sets the culture used to display localizable data (numbers, dates). Set by default to “CultureInfo.CurrentCulture”.
Gets or sets the inline CSS style.
Gets or sets a value indicating whether this “T:Studs.StudsComponent” is visible. Invisible components are not rendered.