RadComboBoxItem
Represents an individual item in a RadComboBox control.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class RadComboBoxItem : ControlItem, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IMarkableStateManager, IStateManager, INamingContainer, IXmlSerializable, IComparable
Inheritance: objectControlWebControlControlItemRadComboBoxItem
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadComboBoxItem class.
public RadComboBoxItem()
Initializes a new instance of the RadComboBoxItem class.
Initializes a new instance of the RadComboBoxItem class. Does not set the Value property of the instance.
Properties
Gets or sets the checked state of the combobox item.
public bool Checked { get; set; }
The default value is false.
Use the Checked property to determine whether the item is checked or not.
Gets the RadComboBox instance which contains the current item.
[Browsable(false)]
public RadComboBox ComboBoxParent { get; }
Gets or sets the path to an image to display for the item when it is disabled.
public string DisabledImageUrl { get; set; }
The path to the image to display for the item. The default value is empty string.
Use the DisabledImageUrl property to specify the image for the item when it is disabled. If the DisabledImageUrl property is set to empty string no image will be rendered. Use "~" (tilde) when referring to images within the current ASP.NET application.
Gets or sets the path to an image to display for the item.
public string ImageUrl { get; set; }
The path to the image to display for the item. The default value is empty string.
Use the ImageUrl property to specify the image for the item. If the ImageUrl property is set to empty string no image will be rendered. Use "~" (tilde) when referring to images within the current ASP.NET application.
Sets or gets whether the item is separator. It also represents a logical state of the item. Might be used in some applications for keyboard navigation to omit processing items that are marked as separators.
public bool IsSeparator { get; set; }
Gets the RadComboBox instance which contains the current item.
[Browsable(false)]
public RadComboBox Owner { get; }
protected RenderMode RenderMode { get; }
Gets or sets the selected state of the combobox item.
public bool Selected { get; set; }
The default value is false.
Use the Selected property to determine whether the item is selected or not.
protected override HtmlTextWriterTag TagKey { get; }
Overrides:
Gets or sets the text caption for the combobox item.
public override string Text { get; set; }
The text of the item. The default value is empty string.
Overrides:
Use the Text property to specify the text to display for the item.
Gets or sets the tooltip of the combobox item.
public override string ToolTip { get; set; }
Overrides:
Gets or sets the value for the combobox item.
public override string Value { get; set; }
The value of the item. The default value is empty string.
Overrides:
Use the Value property to specify the value
Methods
protected override void AddAttributesToRender(HtmlTextWriter writer)
Overrides:
protected override ControlItemCollection CreateChildItemCollection()
Overrides:
protected override void LoadFromDictionary(IDictionary<string, object> dictionary)
Overrides:
Removes this instance.
public void Remove()
Renders the HTML opening tag of the control to the specified writer. This method is used primarily by control developers.
public override void RenderBeginTag(HtmlTextWriter writer)
A HtmlTextWriter that represents the output stream to render HTML content on the client.
Overrides:
protected override void RenderContents(HtmlTextWriter writer)
Overrides:
Renders the HTML closing tag of the control into the specified writer. This method is used primarily by control developers.
public override void RenderEndTag(HtmlTextWriter writer)
A HtmlTextWriter that represents the output stream to render HTML content on the client.
Overrides:
protected virtual void WriteAttributesToOptionBeginTag(HtmlTextWriter writer)