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

Represents the base class of all column editors in RadTreeList.

Definition

Constructors

C#
public TreeListColumnEditor(TreeListEditableColumn column)
Parameters:columnTreeListEditableColumn

Properties

Gets the column for which the column editor is created.

C#
public TreeListEditableColumn Column { get; }

Methods

C#
protected virtual string GenerateControlID()
Returns:

string

Get the first value from the values of the current TreeListColumnEditor. This method returns the first item from GetValues(), if any.

C#
public virtual object GetFirstValue()
Returns:

object

Returns the first value from an object implementing IEnumerable, passed as argument. If the collection is empty, returns null.

C#
public static object GetFirstValueFromEnumerable(IEnumerable enumerable)
Parameters:enumerableIEnumerable

An instance of a class that implements IEnumerable.

Returns:

object

The first value form the enumerable collection.

Returns a collection of the values in the editor control.

C#
public abstract IEnumerable GetValues()
Returns:

IEnumerable

Implements: ITreeListColumnEditor.GetValues()

Initializes the column editor for the TreeListColumn.

C#
public abstract 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.

Implements: ITreeListColumnEditor.Initialize(TreeListEditableItem, Control)

Sets the edit values in the column editor.

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

A collection of the values which will be used to populate the editor control.

Implements: ITreeListColumnEditor.SetValues(IEnumerable)