Back to Devexpress

DataLayoutControl.TabbedGroupMarkEnd Property

wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-datalayoutcontrol-135bd612.md

latest3.3 KB
Original Source

DataLayoutControl.TabbedGroupMarkEnd Property

Specifies a symbol that labels the end of a tabbed group within this DataLayoutControl.

Namespace : DevExpress.Xpf.LayoutControl

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

NuGet Package : DevExpress.Wpf.LayoutControl

Declaration

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

Property Value

TypeDescription
Char

A Char value that labels the end of a tabbed group within this DataLayoutControl.

|

Remarks

To create a tabbed group within the DataLayoutControl you have to wrap this group’s name with ‘{‘ and ‘}’ characters when using the DisplayAttribute.GroupName attribute. For example, the following code creates a tabbed group called ‘My Tabbed Group’ that contains 2 tabs (‘Tab 1’ and ‘Tab 2’) with 2 items in each.

csharp
[Display(GroupName = "{My Tabbed Group}/Tab 1"), DataType(DataType.PhoneNumber)]
 public string Phone1 { get; set; }
 [Display(GroupName = "{My Tabbed Group}/Tab 1")]
 public string Email1 { get; set; }
 [Display(GroupName = "{My Tabbed Group}/Tab 2"), DataType(DataType.PhoneNumber)]
 public string Phone2 { get; set; }
 [Display(GroupName = "{My Tabbed Group}/Tab 2")]
 public string Email2 { get; set; }
vb
<Display(GroupName := "{My Tabbed Group}/Tab 1"), DataType(DataType.PhoneNumber)> _
Public Property Phone1() As String
    Get
    End Get
    Set
    End Set
End Property
<Display(GroupName := "{My Tabbed Group}/Tab 1")> _
Public Property Email1() As String
    Get
    End Get
    Set
    End Set
End Property
<Display(GroupName := "{My Tabbed Group}/Tab 2"), DataType(DataType.PhoneNumber)> _
Public Property Phone2() As String
    Get
    End Get
    Set
    End Set
End Property
<Display(GroupName := "{My Tabbed Group}/Tab 2")> _
Public Property Email2() As String
    Get
    End Get
    Set
    End Set
End Property

To implement your own custom syntax and replace the default opening and closing ‘{‘ and ‘}’ characters with your custom symbols, use the static DataLayoutControl.TabbedGroupMarkStart and TabbedGroupMarkEnd properties.

See Also

TabbedGroupMarkStart

Data Layout Control

DataLayoutControl Class

DataLayoutControl Members

DevExpress.Xpf.LayoutControl Namespace