Back to Devexpress

PivotGridField.Height Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridfield-e846b2ef.md

latest3.0 KB
Original Source

PivotGridField.Height Property

Gets or sets the height of rows that correspond to the current field. This is a dependency property.

Namespace : DevExpress.Xpf.PivotGrid

Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public double Height { get; set; }
vb
Public Property Height As Double

Property Value

TypeDescription
Double

A Double value, specifying the height of rows that correspond to the current field.

|

Remarks

The Height property effect depends on the area where the current field is located.

  • For row fields, the Height property specifies the height of rows that correspond to that field. If field value cells of the current field have nested cells, the Height property is not in effect.
  • For column fields, the Height property specifies the height of a row that contains values of the current field.
  • For data fields, the Height property effect depends on where data field headers are displayed (defined by the PivotGridControl.DataFieldArea property). If the current field is the only field in the Data Area, and data field headers are not displayed, the Height property is not in effect.

The PivotGridField.MinHeight property defines the minimum possible height for the row. If the Height property value is less than this value, it is automatically changed to PivotGridField.MinHeight.

To denote a default value of the Height property, use the PivotGridField.DefaultHeight field.

Use the PivotGridField.Width property to specify the width of columns that correspond to the current field.

See Also

MinHeight

Width

BestFit

PivotGridField Class

PivotGridField Members

DevExpress.Xpf.PivotGrid Namespace