DataLayoutControl.GroupPathSeparator Property
Specifies the symbol that separates individual group descriptions.
Namespace: DevExpress.Xpf.LayoutControl
Assembly: DevExpress.Xpf.LayoutControl.v24.1.dll
NuGet Package: DevExpress.Wpf.LayoutControl
Declaration
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; }