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

Represents a data item (row) displayed in the dropdown grid of RadMultiColumnComboBox. Exposes bound Text and Value fields plus any custom attributes and template field data for client-side rendering.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class MultiColumnComboBoxItem : StateManager, IMarkableStateManager, IStateManager

Inheritance: objectStateManagerMultiColumnComboBoxItem

Implements: IMarkableStateManagerIStateManager

Inherited Members StateManager.IsTrackingViewStateStateManager.ViewStateobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

Initializes a new instance of the MultiColumnComboBoxItem class.

C#
public MultiColumnComboBoxItem()
C#
public MultiColumnComboBoxItem(RadMultiColumnComboBox owner)
Parameters:ownerRadMultiColumnComboBox

Initializes a new instance of the MultiColumnComboBoxItem class.

C#
public MultiColumnComboBoxItem(string text, string value)
Parameters:textstring

The text of the item.

valuestring

The value of the item.

Initializes a new instance of the MultiColumnComboBoxItem class.

C#
public MultiColumnComboBoxItem(string text)
Parameters:textstring

The text of the item.

Properties

C#
[Browsable(false)]
public Dictionary<string, string> Attributes { get; set; }

Gets or set the DataItem of the current TreeMapItem

C#
[Browsable(false)]
public object DataItem { get; set; }

Gets or sets a value indicating whether this DropDownListItem is enabled.

C#
public bool Enabled { get; set; }
Property Value:

true if enabled; otherwise, false.

Gets the ID of the current TreeMapItem

C#
public virtual string ID { get; }

Gets the Items collection of the current item

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public MultiColumnComboBoxItemCollection Items { get; }

Gets the RadMultiColumnComboBox which this item belongs to.

C#
[Browsable(false)]
public RadMultiColumnComboBox Owner { get; set; }
Property Value:

The RadMultiColumnComboBox which this item belongs to; null (Nothing) if the item is not added to any RadMultiColumnComboBox control.

Gets or sets a value indicating whether this DropDownListItem is selected.

C#
public bool Selected { get; set; }
Property Value:

true if selected; otherwise, false.

Gets or set the Text of the current TreeMapItem

C#
public virtual string Text { get; set; }

Gets or set the Value of the current TreeMapItem

C#
public virtual string Value { get; set; }

Gets or sets a value indicating whether this DropDownListItem is visible.

C#
public bool Visible { get; set; }
Property Value:

true if visible; otherwise, false.

Methods

Compares the current instance with another object of the same type.

C#
public int CompareTo(object obj)
Parameters:objobject

An object to compare with this instance.

Returns:

int

A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: Value Meaning Less than zero This instance is less than obj. Zero This instance is equal to obj. Greater than zero This instance is greater than obj.

Exceptions: ArgumentException

obj is not the same type as this instance.

C#
protected void LoadChildViewState(object viewState)
Parameters:viewStateobject
C#
protected override void LoadViewState(object state)
Parameters:stateobject

Overrides: StateManager.LoadViewState(object)

C#
protected object SaveChildViewState()
Returns:

object

C#
protected override object SaveViewState()
Returns:

object

Overrides: StateManager.SaveViewState()

C#
protected void SetChildrenDirty()
C#
protected void TrackChildViewState()
C#
protected override void TrackViewState()

Overrides: StateManager.TrackViewState()