Back to Devexpress

DashboardDesigner.GridBestFitMaxRowCount Property

dashboard-devexpress-dot-dashboardwin-dot-dashboarddesigner-ae058945.md

latest2.3 KB
Original Source

DashboardDesigner.GridBestFitMaxRowCount Property

Gets or sets the number of the Grid dashboard item’s data rows whose content is processed to apply best fit to columns.

Namespace : DevExpress.DashboardWin

Assembly : DevExpress.Dashboard.v25.2.Win.dll

NuGet Package : DevExpress.Win.Dashboard

Declaration

csharp
[DefaultValue(1000)]
public int GridBestFitMaxRowCount { get; set; }
vb
<DefaultValue(1000)>
Public Property GridBestFitMaxRowCount As Integer

Property Value

TypeDefaultDescription
Int321000

An integer value specifying the number of data rows that are processed to apply best fit to columns.

|

Remarks

When applying the best fit feature to a column, the column is resized so that it displays the complete contents of its header, totals and data cells. The number of data rows taken into account for this calculation is specified by the GridBestFitMaxRowCount property.

  • If set to -1 , all rows are processed.
  • If set to 0 , the Grid ignores data cell content when applying best fit. In this case, columns are resized to fit the contents of their header and totals only.
  • If set to a positive integer , the Grid dashboard item processes the specified number of rows starting from the top visible row.

Implements

GridBestFitMaxRowCount

See Also

DashboardDesigner Class

DashboardDesigner Members

DevExpress.DashboardWin Namespace