LayoutGroup.CustomHeaderButtons Property
Gets or sets the collection of custom buttons displayed in the group header.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v19.1.dll
Declaration
[ListBindable(false)]
[DXCategory("Behavior")]
public virtual BaseButtonCollection CustomHeaderButtons { get; }
Property Value
Type | Description |
---|---|
DevExpress.XtraEditors.ButtonPanel.BaseButtonCollection | A collection of buttons displayed in the group header. |
Remarks
Use the CustomHeaderButtons property to add custom buttons to the group header:
At design time, you can add buttons to the CustomHeaderButtons collection using a dedicated editor.
The location of header buttons (the group’s expand button and custom buttons) can be set with the LayoutGroup.HeaderButtonsLocation property.
To respond to clicking/checking custom buttons, handle the LayoutGroup.CustomButtonClick, LayoutGroup.CustomButtonChecked and LayoutGroup.CustomButtonUnchecked events.
See Also