wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-datalayoutcontrol-9fbf45f1.md
Specifies the symbol that separates individual group descriptions.
Namespace : DevExpress.Xpf.LayoutControl
Assembly : DevExpress.Xpf.LayoutControl.v25.2.dll
NuGet Package : DevExpress.Wpf.LayoutControl
public static char GroupPathSeparator { get; set; }
Public Shared Property GroupPathSeparator As Char
| Type | Description |
|---|---|
| Char |
A Char value that separates individual group descriptions.
|
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; }
<Display(GroupName := "{Tabs}/Contact/Address", _
ShortName="" := "")> _
Public Property AddressLine1() As String
'...
End Property
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; }
<Display(GroupName := "{Tabs}*Contact*Address", _
ShortName="" := "")> _
Public Property AddressLine1() As String
'...
End Property
See Also