Back to Devexpress

KanbanGroupFooterButtonOptions Class

windowsforms-devexpress-dot-xtragrid-dot-views-dot-tile-fc20a57e.md

latest4.1 KB
Original Source

KanbanGroupFooterButtonOptions Class

Provides options to customize Kanban group footer buttons.

Namespace : DevExpress.XtraGrid.Views.Tile

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public class KanbanGroupFooterButtonOptions :
    ViewBaseOptions
vb
Public Class KanbanGroupFooterButtonOptions
    Inherits ViewBaseOptions

The following members return KanbanGroupFooterButtonOptions objects:

Remarks

You can access KanbanGroupFooterButtonOptions class objects via the TileView.OptionsKanban.GroupFooterButton and KanbanGroup.FooterButton properties. Use the TileView.OptionsKanban.GroupFooterButton property to enable and customize footer buttons for all Kanban group. Use the KanbanGroup.FooterButton property to show/hide and customize footer buttons for certain Kanban groups.

The following list covers the main settings of group footer buttons.

The code snippet below shows how to display Kanban group footer buttons and specify the button text (“Add a new card”). Then, the code locates the group with the GroupValue property value equal to ToDo and sets the button text to Remove the group. The Doing group is hidden.

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

 //...
  tileView.OptionsKanban.Groups.Where(group => group.GroupValue.ToString() == "ToDo").FirstOrDefault().FooterButton.Text = "Remove the group";
  tileView.OptionsKanban.Groups.Where(group => group.GroupValue.ToString() == "Doing").FirstOrDefault().FooterButton.Visible = DevExpress.Utils.DefaultBoolean.False;
vb
tileView.OptionsKanban.GroupFooterButton.Visible = DefaultBoolean.True
tileView.OptionsKanban.GroupFooterButton.Text = "Add a new card"
'....
tileView.OptionsKanban.Groups.Where(Function(group) group.GroupValue.ToString() = "ToDo").FirstOrDefault().FooterButton.Text = "Remove the group"
tileView.OptionsKanban.Groups.Where(Function(group) group.GroupValue.ToString() = "Doing").FirstOrDefault().FooterButton.Visible = DevExpress.Utils.DefaultBoolean.[False]

Inheritance

Object ViewStatePersisterCore BaseOptions ViewBaseOptions KanbanGroupFooterButtonOptions

See Also

KanbanGroupFooterButtonOptions Members

DevExpress.XtraGrid.Views.Tile Namespace