Tab

RibbonTemplateItem.Template Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

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

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.

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