DimensionTopNOptions.Count Property

Gets or sets the number of top or bottom values to be displayed.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v21.2.Core.dll

Declaration

[DefaultValue(5)]
public int Count { get; set; }

Property Value

Type Default Description
Int32

5

An integer value that specifies the number of top or bottom values to be displayed.

Property Paths

You can access this nested property as listed below:

Object Type Path to Count
Dimension
.TopNOptions.Count

Remarks

To specify whether to display the largest or smallest values, use the DimensionTopNOptions.Mode property. To specify the measure by which the values should be ranged, use the DimensionTopNOptions.Measure property.

Use the DimensionTopNOptions.Enabled property to enable/disable the Top N Values feature.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Count 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.

See Also