Back to Devexpress

ButtonImageSpriteProperties Members

aspnet-devexpress-dot-web-dot-buttonimagespriteproperties-dot-underscore-members.md

latest7.7 KB
Original Source

ButtonImageSpriteProperties Members

Contains settings that define different states (disabled, hottracked, pressed) of a button image when it’s taken from a sprite image.

Constructors

NameDescription
ButtonImageSpriteProperties()Initializes a new instance of the ButtonImageSpriteProperties class with default settings.
ButtonImageSpriteProperties(IPropertiesOwner)Initializes a new instance of the ButtonImageSpriteProperties class with the specified owner.

Properties

NameDescription
CssClassGets or sets the name of the cascading style sheet (CSS) class that defines a normal state image’s position within a custom sprite image. Inherited from ImageSpriteProperties.
DisabledCssClassGets or sets the name of the cascading style sheet (CSS) class that defines a disabled state image’s position within a custom sprite image.
DisabledLeftGets or sets a disabled state image’s horizontal offset within a sprite image, specified via a control’s SpriteImageUrl property.
DisabledTopGets or sets a disabled state image’s vertical offset within a sprite image, specified via a control’s SpriteImageUrl property.
HottrackedCssClassGets or sets the name of the cascading style sheet (CSS) class that defines a hottracked state image’s position within a custom sprite image.
HottrackedLeftGets or sets a hottracked state image’s horizontal offset within a sprite image specified via a control’s SpriteImageUrl property.
HottrackedTopGets or sets a hottracked state image’s vertical offset within a sprite image specified via a control’s SpriteImageUrl property.
LeftGets or sets a normal state image’s horizontal offset within a sprite image specified via a control’s SpriteImageUrl property. Inherited from ImageSpriteProperties.
PressedCssClassGets or sets the name of the cascading style sheet (CSS) class that defines a pressed state image’s position within a custom sprite image.
PressedLeftGets or sets a pressed state image’s horizontal offset within a sprite image specified via a control’s SpriteImageUrl property.
PressedTopGets or sets a pressed state image’s vertical offset within a sprite image, specified via a control’s SpriteImageUrl property.
TopGets or sets a normal state image’s vertical offset within a sprite image, specified via a control’s SpriteImageUrl property. Inherited from ImageSpriteProperties.

Methods

NameDescription
Assign(PropertiesBase)Copies the settings from the specified PropertiesBase object to the current object. Inherited from ImageSpriteProperties.
CopyFrom(PropertiesBase)Duplicates the properties of the specified object into the current instance of the ImageSpriteProperties class. Inherited from ImageSpriteProperties.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
MergeWith(PropertiesBase)Combines the properties of the specified PropertiesBase object with the current instance of the ImageSpriteProperties class. Inherited from ImageSpriteProperties.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
Reset()Returns the ImageSpriteProperties object to its original state. Inherited from ImageSpriteProperties.
ToString()Returns the string that represents the current object. Inherited from StateManager.

See Also

ButtonImageSpriteProperties Class

DevExpress.Web Namespace