CustomDrawSeparatorEventArgs.SeparatorKind Property

Gets the painted cell separator’s type.

Namespace: DevExpress.XtraVerticalGrid.Events

Assembly: DevExpress.XtraVerticalGrid.v21.1.dll

Declaration

public SeparatorKind SeparatorKind { get; }

Property Value

Type Description
SeparatorKind

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

Available values:

Name Description
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.

RowCellSeparators

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

See Also