Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DataLayoutControl.GroupPathSeparator Property

Specifies the symbol that separates individual group descriptions.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v24.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