MultiEditorRow.SeparatorKind Property
Gets or sets a value specifying the type of the item cell separator displayed within a multi-editor row.
Namespace: DevExpress.XtraVerticalGrid.Rows
Assembly: DevExpress.XtraVerticalGrid.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid
Declaration
[DefaultValue(SeparatorKind.VertLine)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public virtual SeparatorKind SeparatorKind { get; set; }
Property Value
Type | Default | Description |
---|---|---|
SeparatorKind | VertLine | A SeparatorKind enumerator value specifying the type of item cell separators. |
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
When a multi-editor row consists of more than one item (that is, its MultiEditorRow.PropertiesCollection contains several MultiEditorRowProperties objects), item header cells as well as item value cells are displayed one after another divided by a specific cell separator. The separator type is specified by the SeparatorKind property.
You can use this property to control the visual representation of item cell separators. If the property is set to SeparatorKind.VertLine (the default value), a cell separator is displayed as a vertical line similar to the “|“ symbol. In this case, the separator style is specified by the VertLine style, which affects the appearance of all vertical lines within the grid control.
It’s possible to provide a custom representation for cell separators. For this purpose, you should set the SeparatorKind property to the SeparatorKind.String value and assign any desired string value to the MultiEditorRow.SeparatorString property. The specified string will be used to separate item cells in a multi-editor row.