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