RadioButtonModel

Interface representing the RadioButton class.

Properties

checked Boolean

Specifies a value indicating whether the radio button is checked or not.

Default: false

cssClass String

Specifies CSS classes to customize the appearance of the radio button.

Default: ""

disabled Boolean

Specifies whether the radio button is enabled or disabled.

Default: false

enableHtmlSanitizer Boolean

Specifies whether to allow the rendering of untrusted HTML and JavaScript values withing the control. When true, any untrusted strings or scripts will be remote before rendering.

Default: true

enableRtl Boolean

Specifies whether to render the control in right to left direction.

Default: false

enableState Boolean

Specifies whether to persist the state of the control between page loads.

The following properties will be saved to state.
  • checked

Default: false

htmlAttributes {:}

Specifies additional HTML attributes, such as title, styles, class, id, and name, in a key-value pair format that will be appended to the HTML element. If both the property and equivalent HTML attributes are configured, then the control overrides the property value with the HTML attributes.

Default: {}

label String

Specifies the caption of the radio button.

Default: ""

labelPosition RadioButtonLabelPosition

Specifies the position of the label.

Default: After

locale String

Specifies the culture and localization value for this control, overriding the globally defined value.

Default: en-US

name String

Specifies a value for the name attribute used when passing form data to the server.

Default: ""

value String

Specifies a value for the value attribute used when passing form data to the server.

Default: ""

Events

change EmitType<RadioButtonChangeArgs>

Event callback that is raised when the radio button state changes.

created EmitType<CreatedEventArgs>

Event callback that is raised when the control has been created.