wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-datalayoutcontrol-4e9797a7.md
Specifies the symbol that labels the beginning of a DataLayoutControl group with borders and a caption.
Namespace : DevExpress.Xpf.LayoutControl
Assembly : DevExpress.Xpf.LayoutControl.v25.2.dll
NuGet Package : DevExpress.Wpf.LayoutControl
public static char GroupBoxMarkStart { get; set; }
Public Shared Property GroupBoxMarkStart As Char
| Type | Description |
|---|---|
| Char |
A Char value that labels the beginning of a DataLayoutControl group with borders and a caption.
|
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; }
<Display(GroupName := "[Group Caption]", Name="" := "Last name")> _
Public Property LastName() As String
'...
End Property
<Display(GroupName := "[Group Caption]", Name="" := "First name", _
Order="" := "0")> _
Public Property FirstName() As String
'...
End Property
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