[]
        
(Showing Draft Content)

C1.Blazor.Core.C1CheckBox

C1CheckBox Class

Represents a control that a user can select and clear.

Inheritance
C1CheckBox
Namespace: C1.Blazor.Core
Assembly: C1.Blazor.Core.dll
Syntax
public class C1CheckBox : C1View, IComponent, IHandleAfterRender, IHandleEvent, IDisposable, IDependencyObject
Public Class C1CheckBox
    Inherits C1View
    Implements IComponent, IHandleAfterRender, IHandleEvent, IDisposable, IDependencyObject

Constructors

Name Description
C1CheckBox()

Initializes a new instance of the C1CheckBox class.

Fields

Name Description
IsCheckedProperty

Identifies the IsChecked dependency property.

IsReadOnlyProperty

Identifies the IsReadOnly dependency property.

IsThreeStateProperty

Identifies the IsThreeState dependency property.

Properties

Name Description
Checked

Occurs when control is checked.

IsChecked

Gets or sets whether the C1CheckBox is checked.

IsCheckedChanged

Gets or sets the callback called when the IsChecked property has changed.

IsReadOnly

Gets or sets whether the C1CheckBox is read only.

IsThreeState

Gets or sets whether C1CheckBox supports indeterminate state.

OnMouseDown

Occurs when any mouse button is depressed.

Methods

Name Description
BuildRenderTree(RenderTreeBuilder)
Dispose(bool)
FocusAsync()

Sets the focus in the control.

InitializeAsync()

This method is called when the component is initialized.

OnAfterRender(bool)
SetParametersAsync(ParameterView)
ShouldRender()