Skip to main content

DataLayoutControl.TabbedGroupMarkStart Property

Specifies a symbol that labels the beginning of a tabbed group within this DataLayoutControl.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v24.1.dll

NuGet Package: DevExpress.Wpf.LayoutControl

Declaration

public static char TabbedGroupMarkStart { get; set; }

Property Value

Type Description
Char

A Char value that labels the beginning of a tabbed group within this DataLayoutControl.

Remarks

To create a tabbed group within the DataLayoutControl you have to wrap this group’s name with ‘{‘ and ‘}’ characters when using the DisplayAttribute.GroupName attribute. For example, the following code creates a tabbed group called ‘My Tabbed Group’ that contains 2 tabs (‘Tab 1’ and ‘Tab 2’) with 2 items in each.

[Display(GroupName = "{My Tabbed Group}/Tab 1"), DataType(DataType.PhoneNumber)]
 public string Phone1 { get; set; }
 [Display(GroupName = "{My Tabbed Group}/Tab 1")]
 public string Email1 { get; set; }
 [Display(GroupName = "{My Tabbed Group}/Tab 2"), DataType(DataType.PhoneNumber)]
 public string Phone2 { get; set; }
 [Display(GroupName = "{My Tabbed Group}/Tab 2")]
 public string Email2 { get; set; }

To implement your own custom syntax and replace the default ‘{‘ and ‘}’ characters with your custom symbols, use the static TabbedGroupMarkStart and DataLayoutControl.TabbedGroupMarkEnd properties.

See Also