Skip to main content

LayoutView.CustomSeparatorStyle Event

Enables you to change the separator’s width and customize its appearance.

Namespace: DevExpress.XtraGrid.Views.Layout

Assembly: DevExpress.XtraGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

[DXCategory("Behavior")]
public event LayoutViewCustomSeparatorStyleEventHandler CustomSeparatorStyle

Event Data

The CustomSeparatorStyle event's data class is DevExpress.XtraGrid.Views.Layout.Events.LayoutViewCustomSeparatorStyleEventArgs.

Remarks

To specify the separator’s width, assign the required width to the e.Width parameter. To customize the separator’s appearance, use the settings provided by the e.Appearance object.

Important

Do not change cell values, modify the control’s layout, or change the control’s object model in the events used for custom control painting. Actions that update the layout can cause the control to malfunction.

See Also