RibbonBarGalleryItem
Individual selectable gallery item supporting text, image, command arguments and selection state, with renderer integration and XML persistence.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class RibbonBarGalleryItem : RibbonBarCollectionItemBase, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IRibbonBarSubComponent, IXmlSerializable
Inheritance: objectControlWebControlRibbonBarCollectionItemBaseRibbonBarGalleryItem
Implements:
Inherited Members
Constructors
public RibbonBarGalleryItem()
Properties
Gets or sets the commandArgument of a certain item.
public string CommandArgument { get; set; }
The commandArgument of an item. The default value is empty string.
Use the property to set commandArgument of the item. The CommandArgument will be passed as an argument when the item raises an event.
Gets or sets the image URL of a certain item.
public string ImageUrl { get; set; }
The URL to the image. The default value is empty string.
Use the ImageUrl property to specify a custom image that will be displayed for the item.
Gets or sets a value indicating whether this RibbonBarGalleryItem is selected.
public bool Selected { get; set; }
true if selected; otherwise, false.