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

Represents a selectable list (non-editable) drop-down Ribbon control with XML serialization support, item collection management and selection helpers.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class RibbonBarDropDown : RibbonBarDropDownItem, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IRibbonBarSubComponent, IXmlSerializable

Inheritance: objectControlWebControlRibbonBarItemRibbonBarDropDownItemRibbonBarDropDown...

Derived Classes: RibbonBarComboBox

Implements: IAttributeAccessorIComponentIControlBuilderAccessorIControlDesignerAccessorIDataBindingsAccessorIDisposableIExpressionsAccessorIParserAccessorIRibbonBarSubComponentIUrlResolutionServiceIXmlSerializable...

Inherited Members RibbonBarDropDownItem.Render(HtmlTextWriter)RibbonBarDropDownItem.AddAttributesToRender(HtmlTextWriter)RibbonBarDropDownItem.RenderContents(HtmlTextWriter)RibbonBarDropDownItem.TagKeyRibbonBarDropDownItem.AccessKeyRibbonBarDropDownItem.HeightRibbonBarItem.ContainerRibbonBarItem.ParentRibbonBarItem.RibbonBarRibbonBarItem.ParentWebControlRibbonBarItem.GroupRibbonBarItem.RendererWebControl.ApplyStyle(Style)WebControl.CopyBaseAttributes(WebControl)WebControl.CreateControlStyle()WebControl.LoadViewState(object)WebControl.TrackViewState()WebControl.MergeStyle(Style)WebControl.RenderBeginTag(HtmlTextWriter)WebControl.RenderEndTag(HtmlTextWriter)WebControl.SaveViewState()WebControl.AttributesWebControl.BackColorWebControl.BorderColorWebControl.BorderWidthWebControl.BorderStyleWebControl.ControlStyleWebControl.ControlStyleCreatedWebControl.CssClassWebControl.DisabledCssClassWebControl.StyleWebControl.EnabledWebControl.EnableThemingWebControl.FontWebControl.ForeColorWebControl.HasAttributesWebControl.IsEnabledWebControl.SupportsDisabledAttributeWebControl.SkinIDWebControl.TabIndexWebControl.TagNameWebControl.ToolTipWebControl.WidthControl.ResolveAdapter()Control.HasEvents()Control.GetRouteUrl(object)Control.GetRouteUrl(string, object)Control.GetRouteUrl(RouteValueDictionary)Control.GetRouteUrl(string, RouteValueDictionary)Control.GetUniqueIDRelativeTo(Control)Control.ApplyStyleSheetSkin(Page)Control.OnDataBinding(EventArgs)Control.DataBind()Control.DataBind(bool)Control.DataBindChildren()Control.AddParsedSubObject(object)Control.EnsureID()Control.OnInit(EventArgs)Control.ClearChildState()Control.ClearChildControlState()Control.ClearChildViewState()Control.ClearEffectiveClientIDMode()Control.ClearCachedClientID()Control.Focus()Control.LoadControlState(object)Control.MapPathSecure(string)Control.OpenFile(string)Control.OnLoad(EventArgs)Control.OnPreRender(EventArgs)Control.BuildProfileTree(string, bool)Control.SaveControlState()Control.RenderChildren(HtmlTextWriter)Control.RenderControl(HtmlTextWriter)Control.RenderControl(HtmlTextWriter, ControlAdapter)Control.OnUnload(EventArgs)Control.Dispose()Control.RaiseBubbleEvent(object, EventArgs)Control.OnBubbleEvent(object, EventArgs)Control.AddedControl(Control, int)Control.CreateControlCollection()Control.CreateChildControls()Control.ResolveUrl(string)Control.ResolveClientUrl(string)Control.FindControl(string)Control.FindControl(string, int)Control.GetDesignModeState()Control.HasControls()Control.IsLiteralContent()Control.EnsureChildControls()Control.RemovedControl(Control)Control.SetDesignModeState(IDictionary)Control.SetRenderMethodDelegate(RenderMethod)Control.ClientIDModeControl.ClientIDControl.ClientIDSeparatorControl.ContextControl.AdapterControl.DesignModeControl.EventsControl.IDControl.IsChildControlStateClearedControl.EnableViewStateControl.ViewStateModeControl.IsViewStateEnabledControl.NamingContainerControl.IdSeparatorControl.LoadViewStateByIDControl.PageControl.RenderingCompatibilityControl.TemplateControlControl.TemplateSourceDirectoryControl.AppRelativeTemplateSourceDirectoryControl.SiteControl.VisibleControl.UniqueIDControl.HasChildViewStateControl.ControlsControl.ValidateRequestModeControl.ViewStateControl.ViewStateIgnoresCaseControl.ChildControlsCreatedControl.IsTrackingViewStateControl.DisposedControl.DataBindingControl.InitControl.LoadControl.PreRenderControl.Unloadobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public RibbonBarDropDown()

Properties

Gets a RibbonBarListItemCollection object that contains the items of the DropDown.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public RibbonBarListItemCollection Items { get; }
Property Value:

A RibbonBarListItemCollection that contains the items of the DropDown. By default the collection is empty (the DropDown has no items).

Use the Items property to access the items of the DropDown. You can also use the Items property to manage the items. You can add, remove or modify items from the Items collection.

Gets the type of the RibbonBarItem. Usefull when iterating through the Items collection of RibbonBarGroup

C#
public override RibbonBarItemType ItemType { get; }

Overrides: RibbonBarItem.ItemType

Gets or sets the selected index of the RibbonBarComboBox control.

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

The index that should be selected.

Set the selected index to -1 to clear the selection.

Methods

Clears the selection. The Selected property of all items is set to false.

C#
public void ClearSelection()
C#
protected override IRenderer CreateControlRenderer()
Returns:

IRenderer

Overrides: RibbonBarItem.CreateControlRenderer()

Returns the Visible list items.

C#
public IList<RibbonBarListItem> GetVisibleItems()
Returns:

IList<RibbonBarListItem>

All visible items in the DropDown.

C#
public void ReadXml(XmlReader reader)
Parameters:readerXmlReader
C#
protected virtual void ReadXmlForListItems(XmlReader reader)
Parameters:readerXmlReader
C#
protected void WriteXml(XmlWriter writer)
Parameters:writerXmlWriter
C#
protected virtual void WriteXmlForListItems(XmlWriter writer)
Parameters:writerXmlWriter