Skip to main content

DataLayoutControl.GroupPathSeparator Property

Specifies the symbol that separates individual group descriptions.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v23.2.dll

NuGet Package: DevExpress.Wpf.LayoutControl

Declaration

public static char GroupPathSeparator { get; set; }

Property Value

Type Description
Char

A Char value that separates individual group descriptions.

Remarks

By default, you have to separate individual groups with the ‘/‘ character. For instance, in the Data Layout Control topic example, the following code adds the AddressLine1 editor to the Address group within the Contact tab, placed within the Tabs group.

[Display(GroupName = "{Tabs}/Contact/Address", ShortName = "")]
public string AddressLine1 { get; set; }

To implement your own custom syntax and replace the default ‘/‘ symbol with a desired custom symbol, use the static GroupPathSeparator property. For example, if the GroupPathSeparator property equals ‘*’, the code above should be modified as follows.

[Display(GroupName = "{Tabs}*Contact*Address", ShortName = "")]
public string AddressLine1 { get; set; }
See Also