MatRadioButton

Buttons communicate an action a user can take. They are typically placed throughout your UI, in places like dialogs, forms, cards, and toolbars.

Name Type Description
TValue Generic argument any
Attributes Dictionary<String,Object> Gets or sets a collection of additional attributes that will be applied to the created element.
ChildContent RenderFragment Child content of MatRadioButton
Class String Specifies one or more classnames for an DOM element.
Disabled Boolean
Id String
Label String
RefBack ForwardRef
Style String Specifies an inline style for an DOM element.
Value TValue
Ref ElementReference Returned ElementRef reference for DOM element.
MatRadioGroup

Name Type Description
TValue Generic argument any
Attributes Dictionary<String,Object> Gets or sets a collection of additional attributes that will be applied to the created element.
ChildContent RenderFragment Child content of MatRadioGroup
Class String Specifies one or more classnames for an DOM element.
Id String
Items IEnumerable<TValue>
ItemTemplate RenderFragment<TValue>
RefBack ForwardRef
Style String Specifies an inline style for an DOM element.
ValidationDisabled Boolean
Value TValue Gets or sets the value of the input. This should be used with two-way binding.
ValueChanged EventCallback<TValue> Gets or sets a callback that updates the bound value.
ValueExpression Expression<Func<TValue>> Gets or sets an expression that identifies the bound value.
Ref ElementReference Returned ElementRef reference for DOM element.
Example
Gender
Selected value:

Items:

Items with ItemTemplate:

arrow_forward
arrow_forward
arrow_forward
arrow_forward
Custom Class

Car Items:

Car Items with ItemTemplate:

Enum
If you like MatBlazor, please put a star on GitHub.