[]
        
(Showing Draft Content)

C1.Android.Core.C1CheckBox

C1CheckBox Class

Represents a control that a user can select and clear.

Inheritance
C1CheckBox
Implements
Namespace: C1.Android.Core
Assembly: C1.Android.Core.dll
Syntax
public class C1CheckBox : CheckBox, IDependencyObject
Public Class C1CheckBox
    Inherits CheckBox
    Implements IDependencyObject

Constructors

Name Description
C1CheckBox(Context)

Initializes a new instance of the C1CheckBox class.

C1CheckBox(Context, IAttributeSet)

Initializes a new instance of the C1CheckBox class.

C1CheckBox(Context, IAttributeSet, int)

Initializes a new instance of the C1CheckBox class.

C1CheckBox(nint, JniHandleOwnership)

Fields

Name Description
ForegroundProperty

Identifies the Foreground dependency property.

IsCheckedProperty

Identifies the IsChecked dependency property.

IsEnabledProperty

Identifies the IsEnabled dependency property.

IsReadOnlyProperty

Identifies the IsReadOnly dependency property.

IsThreeStateProperty

Identifies the IsThreeState dependency property.

Properties

Name Description
Foreground

Gets or sets the color used to paint the control.

IsChecked

Gets or sets whether the C1CheckBox is checked.

IsDisposed

Gets whether this instance is disposed.

IsEnabled

Gets or sets whether the C1CheckBox is enabled.

IsReadOnly

Gets or sets whether the C1CheckBox is read only.

IsThreeState

Gets or sets whether C1CheckBox supports indeterminate state.

Tag

Gets or sets an arbitrary object value that can be used to store custom information about this element.

Methods

Name Description
Dispose(bool)
OnAttachedToWindow()
OnChecked(EventArgs)

Raises the Checked event.

OnDetachedFromWindow()
OnDraw(Canvas)

Customize the native checkbox drawing.

Toggle()

Events

Name Description
Checked

Occurs after the value of checkBox changes