Skip to main content

ToolbarItemImageProperties Class

Contains settings that define a toolbar item‘s image.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v24.2.dll

Declaration

public class ToolbarItemImageProperties :
    MenuItemImageProperties

The following members return ToolbarItemImageProperties objects:

Remarks

Use the properties exposed by the ToolbarItemImageProperties class to specify the URL of the image source, define the image size and position, specify the alternate text displayed instead of the image when the image is unavailable, etc. These settings can be accessed via the ToolbarItemBase.Image property.

All graphic file formats that can be interpreted by internet browsers are supported. Note that if a PNG image with an 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