Hosts arbitrary templated ASP.NET controls inside a Ribbon item, enabling complex custom UI scenarios while still participating in Ribbon layout and sizing logic.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
C#
public class RibbonBarTemplateItem : RibbonBarItem, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IRibbonBarSubComponent, INamingContainer
Inheritance: objectControlWebControlRibbonBarItemRibbonBarTemplateItem
Implements:
Inherited Members
Constructors
C#
public RibbonBarTemplateItem()
Properties
Gets the type of the RibbonBarItem. Usefull when iterating through the Items collection of RibbonBarGroup
C#
public override RibbonBarItemType ItemType { get; }
Overrides:
C#
public RibbonBarItemSize Size { get; set; }
C#
protected override HtmlTextWriterTag TagKey { get; }
Overrides:
Gets or sets the template for the item.
C#
[TemplateContainer(typeof(RibbonBarTemplateItem))]
[PersistenceMode(PersistenceMode.InnerDefaultProperty)]
public ITemplate Template { get; set; }
An object implementing the ITemplate interface. The default value is a null reference (Nothing in Visual Basic), which indicates that this property is not set.
Methods
C#
protected override void AddAttributesToRender(HtmlTextWriter writer)
Overrides: