Skip to main content

ButtonEditPropertiesBase.ButtonTemplate Property

Gets or sets a common template used for rendering the editor’s buttons.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.1.dll

NuGet Package: DevExpress.Web


public virtual ITemplate ButtonTemplate { get; set; }

Property Value

Type Default Description
ITemplate null

An object supporting the ITemplate interface that contains the template used for rendering all buttons within the editor.


Use the ButtonTemplate property to create a template that defines the common manner in which all the editor’s buttons are rendered.

Note that any style settings defined for the buttons via the editor’s specific property (see ButtonEditPropertiesBase.ButtonStyle or ASPxButtonEditBase.ButtonStyle) are still in effect for the buttons when their contents are specified using the ButtonTemplate property.


The ButtonTemplate property synchronizes its value with the editor’s ASPxButtonEditBase.ButtonTemplate property.


Once a template defined by this property is created, it is instantiated within a container represented by the TemplateContainerBase class. This class implements a set of properties which can be useful when designing a template and binding controls composing this template to data.

See Also