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.GroupBoxMarkStart Property

Specifies the symbol that labels the beginning of a DataLayoutControl group with borders and a caption.

Namespace: DevExpress.Xpf.LayoutControl

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

NuGet Package: DevExpress.Wpf.LayoutControl

#Declaration

public static char GroupBoxMarkStart { get; set; }

#Property Value

Type Description
Char

A Char value that labels the beginning of a DataLayoutControl group with borders and a caption.

#Remarks

By default, to create a group with borders and a caption, you have to wrap this group’s name with ‘[‘ and ‘]’ characters when using the DisplayAttribute.GroupName attribute on a bound property. The code below illustrates the example.

[Display(GroupName = "[Group Caption]", Name = "First name", Order = 0)]
public string FirstName { get; set; }
[Display(GroupName = "[Group Caption]", Name = "Last name")]
public string LastName { get; set; }

If you want to implement your own custom syntax and define custom characters to label a group’s beginning and/or end, use the static GroupBoxMarkStart and DataLayoutControl.GroupBoxMarkEnd properties.

See Also