windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsview-c8211438.md
Gets or sets a value specifying whether the view footer is displayed.
Namespace : DevExpress.XtraGrid.Views.Grid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool ShowFooter { get; set; }
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property ShowFooter As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true to display the View footer; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to ShowFooter |
|---|---|
| GridView |
.OptionsView .ShowFooter
|
Use footers to display multiple total summaries. If the GridOptionsMenu.ShowFooterItem option is enabled, end-users can manually display or hide the column footer.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowFooter property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-grid-customize-footer-menu-calculate-custom-totals/CS/Form1.cs#L43
DevExpress.XtraGrid.Design.XViewsPrinting v = new DevExpress.XtraGrid.Design.XViewsPrinting(gridControl1);
gridView1.OptionsView.ShowFooter = true;
gridView1.PopupMenuShowing += new DevExpress.XtraGrid.Views.Grid.PopupMenuShowingEventHandler(gridView1_PopupMenuShowing);
winforms-grid-customize-footer-menu-calculate-custom-totals/VB/Form1.vb#L38
Dim v As Design.XViewsPrinting = New Design.XViewsPrinting(gridControl1)
gridView1.OptionsView.ShowFooter = True
AddHandler gridView1.PopupMenuShowing, New PopupMenuShowingEventHandler(AddressOf gridView1_PopupMenuShowing)
See Also