aspnet-devexpress-dot-web-dot-ribbontemplateitem.md
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
[DefaultValue(null)]
public ITemplate Template { get; set; }
<DefaultValue(Nothing)>
Public Property Template As ITemplate
| 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.
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