All docs
V20.2
21.1 (EAP/Beta)
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

GridOptionsMenu.ShowSummaryItemMode Property

Gets or sets whether to show a 'Mode' summary sub-menu that allows a user to calculate summaries against all rows or the selection.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v20.2.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean ShowSummaryItemMode { get; set; }

Property Value

Type Default Description
DefaultBoolean

Default

A value that specifies whether to display the 'Mode' summary sub-menu.

Available values:

Name Description
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object's parent object setting (e.g., a control setting).

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowSummaryItemMode
AdvBandedGridView
.OptionsMenu.ShowSummaryItemMode
BandedGridView
.OptionsMenu.ShowSummaryItemMode
GridView
.OptionsMenu.ShowSummaryItemMode

Remarks

For summaries shown in the View Footer, you can choose whether to calculate summaries for all rows or the selection. The GridSummaryItem.Mode property allows you to specify summary calculation mode in code. A user can choose summary calculation mode from the 'Mode' summary sub-menu.

See GridSummaryItem.Mode for a description of available summary calculation modes.

Use the ShowSummaryItemMode property to specify the visibility of the 'Mode' summary sub-menu. If this property is set to Default, the 'Mode' summary sub-menu is visible if the OptionsSelection.MultiSelect property is enabled and the OptionsSelection.MultiSelectMode property is set to RowSelect or CheckBoxRowSelect.

See Also