Skip to main content
Tab

ASPxCollapsiblePanel.CollapseButtonTemplate Property

Gets or sets a template used for rendering the collapse button.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

NuGet Package: DevExpress.Web

#Declaration

[DefaultValue(null)]
public virtual ITemplate CollapseButtonTemplate { get; set; }

#Property Value

Type Default Description
ITemplate null

An object supporting the ITemplate interface which contains the template used for displaying the collapse button.

#Remarks

Use the ASPxCollapsiblePanel.ExpandButtonTemplate and CollapseButtonTemplate properties to specify templates for expand and collapse panel buttons.

  • If only the ASPxCollapsiblePanel.ExpandButtonTemplate property is specified, the template is applied to both expand and collapse panel buttons.
  • If only the CollapseButtonTemplate property is specified, the template is applied to the collapse button. The expand button will be displayed without a template.
See Also