windowsforms-devexpress-dot-xtragrid-dot-views-dot-tile-dot-kanbangroup-b7733ae7.md
Gets or sets the group’s display caption.
Namespace : DevExpress.XtraGrid.Views.Tile
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue("")]
[DXCategory("Options")]
[XtraSerializableProperty]
public string Caption { get; set; }
<DXCategory("Options")>
<XtraSerializableProperty>
<DefaultValue("")>
Public Property Caption As String
| Type | Default | Description |
|---|---|---|
| String | String.Empty |
The group’s display caption.
|
If the Caption property is set to an empty string, the display caption is automatically generated based on the group value (KanbanGroup.GroupValue). You can obtain this caption via the KanbanGroup.GetCaption property.
You can use a set of HTML tags to format group captions. An example and its result are demonstrated below.
tileView.OptionsKanban.Groups.Add(new KanbanGroup() {
GroupValue = TaskStatus.Backlog,
Caption= "<size=+2>Backlog
<r><size=-2>User stories"
});
tileView.OptionsKanban.Groups.Add(New KanbanGroup() With {
.GroupValue = TaskStatus.Backlog,
.Caption = "<size=+2>Backlog
<r><size=-2>User stories"
})
The ColumnView.CustomColumnDisplayText event allows you to dynamically provide text to display in group captions. For instance, you can display the number of the child tile count for each group (as shown in Tile View Kanban Board module in the XtraGrid MainDemo).
See Also