Back to Devexpress

CustomDrawSeparatorEventArgs.SeparatorKind Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-events-dot-customdrawseparatoreventargs-9890cba6.md

latest3.1 KB
Original Source

CustomDrawSeparatorEventArgs.SeparatorKind Property

Gets the painted cell separator’s type.

Namespace : DevExpress.XtraVerticalGrid.Events

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

csharp
public SeparatorKind SeparatorKind { get; }
vb
Public ReadOnly Property SeparatorKind As SeparatorKind

Property Value

TypeDescription
SeparatorKind

A SeparatorKind enumerator value specifying the painted cell separator’s type.

|

Available values:

NameDescription
VertLine

Specifies that a cell separator is displayed as a vertical line. The separator style is specified by the VertLine style, which affects the look and feel of all vertical lines within your grid control.

| | String |

Specifies that cell separators have a custom string representation defined by the MultiEditorRow.SeparatorString property. In this case the Separator style is used to control the look and feel of separator elements.

|

Remarks

The SeparatorKind property allows you to obtain the painted cell separator’s type. If you need to specify the separator’s type, use the row’s MultiEditorRow.SeparatorKind property. The images below illustrates the types available.

If the SeparatorKind property returns a SeparatorKind.String value, use the CustomDrawSeparatorEventArgs.SeparatorString property to specify the separator’s display text.

See Also

SeparatorKind

SeparatorString

CustomDrawSeparatorEventArgs Class

CustomDrawSeparatorEventArgs Members

DevExpress.XtraVerticalGrid.Events Namespace