PivotGridField.HeaderImage Property
Gets or sets an image displayed within the Pivot Grid’s field header. This is a dependency property.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v24.1.dll
NuGet Package: DevExpress.Wpf.PivotGrid
Declaration
Property Value
Type | Description |
---|---|
ImageSource | A System.Windows.Media.ImageSource object specifying the image displayed within the Pivot Grid’s field header. |
Remarks
The following example shows how to set the product.ico icon to the Product Name field. This icon is located in the image folder of the current project.
<dxpg:PivotGridControl.Fields>
<dxpg:PivotGridField Name="fieldProduct" Area="RowArea" FieldName="ProductName"
AreaIndex="1" HeaderImage="pack://application:,,,/image/product.ico"/>
</dxpg:PivotGridControl.Fields>
See Also