Skip to main content
Tag

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

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

public double Height { get; set; }

Property Value

Type Description
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.

    • If data field headers are displayed as row headers, the Height property specifies the height of corresponding pivot grid rows. If data field headers have nested cells, the Height property is not in effect.
    • If data field headers are displayed as column headers, the Height property is not in effect. In this instance, use the PivotGridControl.DataFieldHeight property to specify the height of data field headers.

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