Back to Devexpress

LayoutView.CustomSeparatorStyle Event

windowsforms-devexpress-dot-xtragrid-dot-views-dot-layout-dot-layoutview-7707ed72.md

latest1.7 KB
Original Source

LayoutView.CustomSeparatorStyle Event

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

Namespace : DevExpress.XtraGrid.Views.Layout

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DXCategory("Behavior")]
public event LayoutViewCustomSeparatorStyleEventHandler CustomSeparatorStyle
vb
<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

LayoutView Class

LayoutView Members

DevExpress.XtraGrid.Views.Layout Namespace