Class
RadCheckBoxEditor

Represents a checkbox editor in RadGridView.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
[RadToolboxItem(false)]
public class RadCheckBoxEditor : BaseGridEditor, IInputEditor, IValueEditor, ISupportInitialize

Inheritance: objectBaseInputEditorBaseGridEditorRadCheckBoxEditor

Implements: IInputEditorISupportInitializeIValueEditor

Inherited Members BaseGridEditor.Validate()BaseGridEditor.OnValueChanging(ValueChangingEventArgs)BaseGridEditor.OnValueChanged()BaseGridEditor.OnKeyDown(KeyEventArgs)BaseGridEditor.EndEditOnLostFocusBaseGridEditor.ClearCellTextBaseInputEditor.isInitializingBaseInputEditor.originalValueBaseInputEditor.EndEdit()BaseInputEditor.BeginInit()BaseInputEditor.EndInit()BaseInputEditor.OnValidating(CancelEventArgs)BaseInputEditor.OnValidated()BaseInputEditor.OnValidationError(ValidationErrorEventArgs)BaseInputEditor.IsActiveBaseInputEditor.IsInitalizingBaseInputEditor.IsInBeginEditModeBaseInputEditor.OwnerElementBaseInputEditor.RightToLeftBaseInputEditor.EditorManagerBaseInputEditor.EditorElementBaseInputEditor.ValueChangingBaseInputEditor.ValueChangedBaseInputEditor.ValidatingBaseInputEditor.ValidatedBaseInputEditor.ValidationError

Constructors

RadCheckBoxEditor()

Initializes a new instance of the RadCheckBoxEditor class.

Declaration

cs-api-definition
public RadCheckBoxEditor()

Properties

DataType

Gets the type of the editor value

Declaration

cs-api-definition
public override Type DataType { get; }

Property Value

Type

Overrides BaseGridEditor.DataType

IsModified

Gets whether the editor is modified.

Declaration

cs-api-definition
public override bool IsModified { get; }

Property Value

bool

The is modified.

Overrides BaseInputEditor.IsModified

ThreeState

Gets or sets a value indicating whether this is a three state checkbox.

Declaration

cs-api-definition
public bool ThreeState { get; set; }

Property Value

bool

Value

Gets or sets the editor value.

Declaration

cs-api-definition
public override object Value { get; set; }

Property Value

object

Overrides BaseInputEditor.Value

Methods

BeginEdit()

Begins the edit operation.

Declaration

cs-api-definition
public override void BeginEdit()

Overrides BaseInputEditor.BeginEdit()

CreateEditorElement()

Creates a new editor element.

Declaration

cs-api-definition
protected override RadElement CreateEditorElement()

Returns

RadElement

a RadElement if successful

Overrides BaseInputEditor.CreateEditorElement()

Initialize(object, object)

Initializes the specified owner.

Declaration

cs-api-definition
public override void Initialize(object owner, object value)

Parameters

owner

object

The owner.

value

object

The value.

Overrides BaseGridEditor.Initialize(object, object)

OnMouseWheel(MouseEventArgs)

Translates mouse wheel events to the owner element.

Declaration

cs-api-definition
public override void OnMouseWheel(MouseEventArgs mouseEventArgs)

Parameters

mouseEventArgs

MouseEventArgs

A System.Windows.Forms.MouseEventArgs that contains the event data.

Overrides BaseGridEditor.OnMouseWheel(MouseEventArgs)

ToggleState()

Toggles the checkbox state.

Declaration

cs-api-definition
public void ToggleState()