RibbonBarDropDown
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:
public class RibbonBarDropDown : RibbonBarDropDownItem, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IRibbonBarSubComponent, IXmlSerializable
Inheritance: objectControlWebControlRibbonBarItemRibbonBarDropDownItemRibbonBarDropDown...
Derived Classes:
Implements:
Inherited Members
Constructors
public RibbonBarDropDown()
Properties
Gets a RibbonBarListItemCollection object that contains the items of the DropDown.
[PersistenceMode(PersistenceMode.InnerProperty)]
public RibbonBarListItemCollection Items { get; }
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
public override RibbonBarItemType ItemType { get; }
Overrides:
Gets or sets the selected index of the RibbonBarComboBox control.
[Browsable(false)]
public int SelectedIndex { get; set; }
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.
public void ClearSelection()
Returns the Visible list items.
public IList<RibbonBarListItem> GetVisibleItems()
All visible items in the DropDown.