Back to Devexpress

ButtonImageProperties Class

aspnet-devexpress-dot-web-9ee15887.md

latest8.7 KB
Original Source

ButtonImageProperties Class

Serves as a base for classes that provide button image settings.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public class ButtonImageProperties :
    ButtonImagePropertiesBase
vb
Public Class ButtonImageProperties
    Inherits ButtonImagePropertiesBase

The following members return ButtonImageProperties objects:

Show 60 links

Remarks

Use the properties exposed by the ButtonImageProperties 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, for instance, can be accessed via the SpinButtons.IncrementImage or SpinButtons.DecrementImage 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.

Implements

IStateManager

IPropertiesOwner

Inheritance

Object StateManager PropertiesBase ImagePropertiesBase ButtonImagePropertiesBase ButtonImageProperties MenuScrollButtonImageProperties

TrackBarElementImageProperties

See Also

ButtonImageProperties Members

DevExpress.Web Namespace