Back to Devexpress

GridOptionsMenu.ShowSummaryItemMode Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsmenu-daf5aad7.md

latest3.3 KB
Original Source

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.v25.2.dll

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

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean ShowSummaryItemMode { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
Public Overridable Property ShowSummaryItemMode As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Property Paths

You can access this nested property as listed below:

Object TypePath to 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

Mode

GridOptionsMenu Class

GridOptionsMenu Members

DevExpress.XtraGrid.Views.Grid Namespace