Skip to main content

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.1.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