Table of Contents

Class RadzenCheckBox<TValue>

Namespace
Radzen.Blazor
Assembly
Radzen.Blazor.dll

RadzenCheckBox component.

public class RadzenCheckBox<TValue> : FormComponent<TValue>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable, IRadzenFormComponent

Type Parameters

TValue

The type of the value.

Inheritance
RadzenCheckBox<TValue>
Implements
Inherited Members

Examples

<RadzenCheckBox @bind-Value=@someValue TValue="bool" Change=@(args => Console.WriteLine($"Is checked: {args}")) />

Constructors

RadzenCheckBox()

public RadzenCheckBox()

Properties

InputAttributes

Specifies additional custom attributes that will be rendered by the input.

[Parameter]
public IReadOnlyDictionary<string, object> InputAttributes { get; set; }

Property Value

IReadOnlyDictionary<string, object>

The attributes.

ReadOnly

Gets or sets a value indicating whether is read only.

[Parameter]
public bool ReadOnly { get; set; }

Property Value

bool

true if is read only; otherwise, false.

TriState

Gets or sets a value indicating whether is tri-state (true, false or null).

[Parameter]
public bool TriState { get; set; }

Property Value

bool

true if tri-state; otherwise, false.

Methods

BuildRenderTree(RenderTreeBuilder)

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

GetComponentCssClass()

protected override string GetComponentCssClass()

Returns

string