Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

KanbanGroup.Caption Property

Gets or sets the group’s display caption.

Namespace: DevExpress.XtraGrid.Views.Tile

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#Declaration

[DefaultValue("")]
[DXCategory("Options")]
[XtraSerializableProperty]
public string Caption { get; set; }

#Property Value

Type Default Description
String String.Empty

The group’s display caption.

#Remarks

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.

#HTML-inspired formatting

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<br><r><size=-2>User stories" 
});

image

#Dynamic text

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).

image

See Also