DataLayoutControl.GroupBoxMarkEnd Property
Specifies the symbol that labels the end 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
Property Value
Type | Description |
---|---|
Char | A Char value that labels the end 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 DataLayoutControl.GroupBoxMarkStart and GroupBoxMarkEnd properties.