Back to Devexpress

ASPxGridViewSettings.ShowGroupFooter Property

aspnet-devexpress-dot-web-dot-aspxgridviewsettings-f21f538c.md

latest4.1 KB
Original Source

ASPxGridViewSettings.ShowGroupFooter Property

Gets or sets a value that specifies the ASPxGridView group footers visibility.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(GridViewGroupFooterMode.Hidden)]
public GridViewGroupFooterMode ShowGroupFooter { get; set; }
vb
<DefaultValue(GridViewGroupFooterMode.Hidden)>
Public Property ShowGroupFooter As GridViewGroupFooterMode

Property Value

TypeDefaultDescription
GridViewGroupFooterModeHidden

A GridViewGroupFooterMode enumeration value that specifies the group footer’s visibility mode.

|

Available values:

NameDescription
Hidden

Group footers are hidden.

| | VisibleIfExpanded |

Group footers are displayed only for expanded group rows.

| | VisibleAlways |

Group footers are always displayed.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ShowGroupFooter
ASPxGridView

.Settings .ShowGroupFooter

| | GridViewProperties |

.Settings .ShowGroupFooter

|

Remarks

To learn more, see Grouping.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowGroupFooter 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.

xaf-how-to-extend-the-application-model/CS/ExtendModel.Module.Web/Controllers/WebGroupFooterViewController.cs#L17

csharp
ASPxGridView gridView = gridListEditor.Grid;
gridView.Settings.ShowGroupFooter = GridViewGroupFooterMode.VisibleAlways;
foreach (IModelColumn modelColumn in View.Model.Columns) {

xaf-how-to-extend-the-application-model/VB/ExtendModel.Module.Web/Controllers/WebGroupFooterViewController.vb#L19

vb
Dim gridView As ASPxGridView = gridListEditor.Grid
gridView.Settings.ShowGroupFooter = GridViewGroupFooterMode.VisibleAlways
For Each modelColumn As IModelColumn In View.Model.Columns

See Also

Group Footer

Group Summary

Grid View

ASPxGridViewSettings Class

ASPxGridViewSettings Members

DevExpress.Web Namespace