Back to Devexpress

TileViewOptionsKanban.GroupFooterButton Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-tile-dot-tileviewoptionskanban-010eb265.md

latest3.9 KB
Original Source

TileViewOptionsKanban.GroupFooterButton Property

Contains settings to enable and customize an additional button in group footers. Handle the TileView.GroupFooterButtonClick event to perform custom actions when this button is clicked.

Namespace : DevExpress.XtraGrid.Views.Tile

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)]
public KanbanGroupFooterButtonOptions GroupFooterButton { get; }
vb
<XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)>
Public ReadOnly Property GroupFooterButton As KanbanGroupFooterButtonOptions

Property Value

TypeDescription
KanbanGroupFooterButtonOptions

An object that contains settings to enable and customize group footer buttons.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to GroupFooterButton
TileView

.OptionsKanban .GroupFooterButton

|

Remarks

The Kanban board allows you to display an additional button in all or individual group footers.

To show and customize footer buttons in all groups, use the TileView.OptionsKanban.GroupFooterButton property.

To show or hide this button in individual group footers, create KanbanGroups via the TileViewOptionsKanban.Groups collection and then use the KanbanGroup.FooterButton property.

csharp
tileView.OptionsKanban.GroupFooterButton.Visible = DefaultBoolean.True;
tileView.OptionsKanban.GroupFooterButton.Text = "Add a new card";
tileView.GroupFooterButtonClick += TileView_GroupFooterButtonClick1;

//Hide the footer button for a certain group.
//tileView.OptionsKanban.Groups[4].FooterButton.Visible = DefaultBoolean.False;

private void TileView_GroupFooterButtonClick1(object sender, GroupFooterButtonClickEventArgs e) {
    //...
}
vb
tileView.OptionsKanban.GroupFooterButton.Visible = DefaultBoolean.True
tileView.OptionsKanban.GroupFooterButton.Text = "Add a new card"

'Hide the footer button for a certain group.
'tileView.OptionsKanban.Groups(4).FooterButton.Visible = DefaultBoolean.False

AddHandler tileView.GroupFooterButtonClick, AddressOf TileView_GroupFooterButtonClick

Private Sub TileView_GroupFooterButtonClick(ByVal sender As Object, ByVal e As GroupFooterButtonClickEventArgs)
    '...
End Sub

See the Tile View Kanban Board module in the XtraGrid MainDemo for a complete example.

See Also

Kanban Board

TileViewOptionsKanban Class

TileViewOptionsKanban Members

DevExpress.XtraGrid.Views.Tile Namespace