Back to Devexpress

RibbonTemplateItem.Template Property

aspnet-devexpress-dot-web-dot-ribbontemplateitem.md

latest1.7 KB
Original Source

RibbonTemplateItem.Template Property

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(null)]
public ITemplate Template { get; set; }
vb
<DefaultValue(Nothing)>
Public Property Template As ITemplate

Property Value

TypeDefaultDescription
ITemplatenull

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

|

Remarks

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

Note

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

Ribbon

Online Demo: Ribbon - Templates

RibbonTemplateItem Class

RibbonTemplateItem Members

DevExpress.Web Namespace