Back to Devexpress

DataLayoutControl.BorderlessGroupMarkStart Property

wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-datalayoutcontrol-b9894379.md

latest2.8 KB
Original Source

DataLayoutControl.BorderlessGroupMarkStart Property

Specifies the symbol that labels a borderless group’s beginning.

Namespace : DevExpress.Xpf.LayoutControl

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

NuGet Package : DevExpress.Wpf.LayoutControl

Declaration

csharp
public static char BorderlessGroupMarkStart { get; set; }
vb
Public Shared Property BorderlessGroupMarkStart As Char

Property Value

TypeDescription
Char

A Char value that labels a borderless group’s beginning.

|

Remarks

By default, you have to wrap the borderless group name with ‘<’ and ‘>’ characters when using the DisplayAttribute.GroupName attribute on a bound property. For example, the example in the Data Layout Control topic has the following code to create a borderless group.

csharp
[Display(GroupName = "<Name>", Name = "Last name")]
vb
<Display(GroupName := "<Name>", Name="" := "Last name")> _

Use the BorderlessGroupMarkStart and DataLayoutControl.BorderlessGroupMarkEnd properties to define your custom syntax and set your own characters that label the bounds of a borderless group. For instance, if you set the BorderlessGroupMarkStart property to ‘?’ and the DataLayoutControl.BorderlessGroupMarkEnd property to ‘!’, modify the code above as follows.

csharp
[Display(GroupName = "?Name!", Name = "Last name")]
vb
<Display(GroupName := "?Name!", Name="" := "Last name")> _

See Also

BorderlessGroupMarkEnd

Data Layout Control

DataLayoutControl Class

DataLayoutControl Members

DevExpress.Xpf.LayoutControl Namespace