Skip to main content

GroupControl.CustomButtonClick Event

Occurs whenever a push button from the GroupControl.CustomHeaderButtons collection is clicked.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

[DXCategory("Action")]
public virtual event BaseButtonEventHandler CustomButtonClick

Event Data

The CustomButtonClick event's data class is DevExpress.XtraBars.Docking2010.BaseButtonEventArgs.

Remarks

private void GroupControl1_CustomButtonClick(object sender, DevExpress.XtraBars.Docking2010.BaseButtonEventArgs e)
{
    if (e.Button.Properties.Caption == "Button 1")
    {
        //. . .
    }
}
See Also