New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Represents the default editor for the TreeListCheckBoxColumn

Definition

Constructors

C#
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public TreeListCheckBoxColumnEditor(TreeListEditableColumn column)
Parameters:columnTreeListEditableColumn

Properties

Gets a reference to the CheckBox created for the editor.

C#
public CheckBox CheckBoxControl { get; }

Methods

Gets the value of the CheckBox column editor.

C#
public override IEnumerable GetValues()
Returns:

IEnumerable

A boolean value indicating the checked state of the CheckBox editor.

Overrides: TreeListColumnEditor.GetValues()

Initializes the TreeListCheckBoxColumn editor.

C#
public override void Initialize(TreeListEditableItem editItem, Control container)
Parameters:editItemTreeListEditableItem

The TreeListEditableItem which will hold the edit control.

containerControl

The container control to which the editor will be added.

Overrides: TreeListColumnEditor.Initialize(TreeListEditableItem, Control)

C#
protected virtual void InitializeCheckBox()

Sets the Checked state of the CheckBox editor.

C#
public override void SetValues(IEnumerable values)
Parameters:valuesIEnumerable

An object containing the value to be assigned to the CheckBox editor.

Overrides: TreeListColumnEditor.SetValues(IEnumerable)