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.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public class PivotGridImageProperties :
    ImageProperties,
    IXtraSerializable2

Remarks

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.

Implements

DevExpress.Utils.Serializing.Helpers.IXtraSerializable2
See Also