Skip to main content

DropDownEditProperties.DropDownWindowTemplate Property

Gets or sets a common template used for displaying the content of the drop down window.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web


public virtual ITemplate DropDownWindowTemplate { 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 content of the drop down window.


Use the DropDownWindowTemplate property to define the content for the editor’s drop down window. This template doesn’t involve the editor’s drop down button. To define the button’s template use the ASPxButtonEditBase.ButtonTemplate property.

Placing a control into a container for a template of the DropDownWindowTemplate type causes the control to be displayed within the window’s content region, replacing any other content specified by the editor’s Text property.


The DropDownWindowTemplate property synchronizes its value with the editor’s ASPxDropDownEdit.DropDownWindowTemplate 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