Skip to main content

RibbonTemplateItem.Template Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web


public ITemplate Template { get; set; }

Property Value

Type Default Description
ITemplate null

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