Class IgbRadio
Inheritance
System.Object
IgbRadio
Implements
System.IDisposable
Assembly: IgniteUI.Blazor.dll
Syntax
public class IgbRadio : BaseRendererControl, JsonSerializable
Constructors
IgbRadio()
Declaration
Properties
AriaLabelledby
Sets the aria-labelledby attribute for the radio control.
Declaration
public string AriaLabelledby { get; set; }
Property Value
Type |
Description |
System.String |
|
Blur
Declaration
public EventCallback<IgbVoidEventArgs> Blur { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<IgbVoidEventArgs> |
|
BlurScript
Declaration
public string BlurScript { get; set; }
Property Value
Type |
Description |
System.String |
|
Change
Declaration
public EventCallback<IgbComponentBoolValueChangedEventArgs> Change { get; set; }
Property Value
ChangeScript
Declaration
public string ChangeScript { get; set; }
Property Value
Type |
Description |
System.String |
|
Checked
The checked state of the control.
Declaration
public bool Checked { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
CheckedChanged
Declaration
public EventCallback<bool> CheckedChanged { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<System.Boolean> |
|
DirectRenderElementName
Declaration
protected override string DirectRenderElementName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Disabled
Disables the radio control.
Declaration
public bool Disabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Focus
Declaration
public EventCallback<IgbVoidEventArgs> Focus { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<IgbVoidEventArgs> |
|
FocusScript
Declaration
public string FocusScript { get; set; }
Property Value
Type |
Description |
System.String |
|
Invalid
Controls the validity of the control.
Declaration
public bool Invalid { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
LabelPosition
The label position of the radio control.
Declaration
public RadioLabelPosition LabelPosition { get; set; }
Property Value
Required
Makes the control a required field.
Declaration
public bool Required { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
SupportsVisualChildren
Declaration
protected override bool SupportsVisualChildren { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Type
Declaration
public override string Type { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
UseDirectRender
Declaration
protected override bool UseDirectRender { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Value
The value attribute of the control.
Declaration
public string Value { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
BlurComponent()
Declaration
[WCWidgetMemberName("Blur")]
public void BlurComponent()
BlurComponentAsync()
Removes focus from the radio control.
Declaration
[WCWidgetMemberName("Blur")]
public Task BlurComponentAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
CheckValidity()
Declaration
public void CheckValidity()
CheckValidityAsync()
Declaration
public Task CheckValidityAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Click()
Declaration
ClickAsync()
Simulates a click on the radio control.
Declaration
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
ConnectedCallback()
Declaration
public void ConnectedCallback()
ConnectedCallbackAsync()
Declaration
public Task ConnectedCallbackAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
DisconnectedCallback()
Declaration
public void DisconnectedCallback()
DisconnectedCallbackAsync()
Declaration
public Task DisconnectedCallbackAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
EnsureModulesLoaded()
Declaration
protected override void EnsureModulesLoaded()
Overrides
FindByName(String)
Declaration
public override object FindByName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Object |
|
Overrides
FocusComponent(IgbFocusOptions)
Declaration
[WCWidgetMemberName("Focus")]
public void FocusComponent(IgbFocusOptions options)
Parameters
FocusComponentAsync(IgbFocusOptions)
Sets focus on the radio control.
Declaration
[WCWidgetMemberName("Focus")]
public Task FocusComponentAsync(IgbFocusOptions options)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
GetCurrentChecked()
Declaration
public bool GetCurrentChecked()
Returns
Type |
Description |
System.Boolean |
|
GetCurrentCheckedAsync()
Declaration
public Task<bool> GetCurrentCheckedAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
ReportValidity()
Declaration
public void ReportValidity()
ReportValidityAsync()
Checks for validity of the control and shows the browser message if it invalid.
Declaration
public Task ReportValidityAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
ResolveDisplay()
Declaration
protected override string ResolveDisplay()
Returns
Type |
Description |
System.String |
|
Overrides
SetCustomValidity(String)
Declaration
public void SetCustomValidity(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
SetCustomValidityAsync(String)
Sets a custom validation message for the control.
As long as message
is not empty, the control is considered invalid.
Declaration
public Task SetCustomValidityAsync(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
SetNativeElement(Object)
Declaration
public void SetNativeElement(object element)
Parameters
Type |
Name |
Description |
System.Object |
element |
|
SetNativeElementAsync(Object)
Declaration
public Task SetNativeElementAsync(object element)
Parameters
Type |
Name |
Description |
System.Object |
element |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Implements
System.IDisposable