Skip to main content

PivotGridImageProperties Class

Contains the settings which define the image that can be displayed within the ASPxPivotGrid control.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v23.2.dll

NuGet Package: DevExpress.Web


public class PivotGridImageProperties :


The PivotGridImageProperties class defines an individual image’s settings. An image can be displayed within different elements of the pivot grid (for instance, within the Customization Form).

Using the properties exposed by the PivotGridImageProperties class, you can specify the URL of the image source (ImagePropertiesBase.Url), define the image size (ImagePropertiesBase.Width and ImagePropertiesBase.Height), set the alternate text displayed instead of the image when the image is unavailable (ImagePropertiesBase.AlternateText) and define the alignment of the image in relation to the text of a container item.

All graphic file formats, which can be interpreted by internet browsers, are supported. Note that if a PNG image with alpha channel is specified via the ImagePropertiesBase.Url property, the image’s size should be defined explicitly via the ImagePropertiesBase.Width and ImagePropertiesBase.Height properties, in order to correctly display the image at runtime.


See Also