A newer version of this page is available. Switch to the current version.

RibbonTemplateItem.Template Property

Gets or sets a template used to display the content of the item.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll


public ITemplate Template { get; set; }
Public Property Template As ITemplate

Property Value

Type Default Description


An object supporting the System.Web.UI.ITemplate interface which contains the template used for displaying the item's content.


Use the Template property to control the contents of the current item.


Once a template defined via the Template property is created within a ribbon control, it is instantiated within a container object of the RibbonItemTemplateContainer type. This container object exposes a set of specific properties to which the template's child controls can be bound.

See Also