LayoutView.CustomSeparatorStyle Event

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

Namespace: DevExpress.XtraGrid.Views.Layout

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[DXCategory("Behavior")]
public event LayoutViewCustomSeparatorStyleEventHandler CustomSeparatorStyle
<DXCategory("Behavior")>
Public Event CustomSeparatorStyle As LayoutViewCustomSeparatorStyleEventHandler

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