Skip to main content
Tab

ButtonImageSpriteProperties Members

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

Constructors

Name Description
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

Name Description
CssClass Gets 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.
DisabledCssClass Gets or sets the name of the cascading style sheet (CSS) class that defines a disabled state image’s position within a custom sprite image.
DisabledLeft Gets or sets a disabled state image’s horizontal offset within a sprite image, specified via a control’s SpriteImageUrl property.
DisabledTop Gets or sets a disabled state image’s vertical offset within a sprite image, specified via a control’s SpriteImageUrl property.
HottrackedCssClass Gets or sets the name of the cascading style sheet (CSS) class that defines a hottracked state image’s position within a custom sprite image.
HottrackedLeft Gets or sets a hottracked state image’s horizontal offset within a sprite image specified via a control’s SpriteImageUrl property.
HottrackedTop Gets or sets a hottracked state image’s vertical offset within a sprite image specified via a control’s SpriteImageUrl property.
Left Gets or sets a normal state image’s horizontal offset within a sprite image specified via a control’s SpriteImageUrl property. Inherited from ImageSpriteProperties.
PressedCssClass Gets or sets the name of the cascading style sheet (CSS) class that defines a pressed state image’s position within a custom sprite image.
PressedLeft Gets or sets a pressed state image’s horizontal offset within a sprite image specified via a control’s SpriteImageUrl property.
PressedTop Gets or sets a pressed state image’s vertical offset within a sprite image, specified via a control’s SpriteImageUrl property.
Top Gets or sets a normal state image’s vertical offset within a sprite image, specified via a control’s SpriteImageUrl property. Inherited from ImageSpriteProperties.

Methods

Name Description
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) static Determines 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() protected Creates 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) static Determines 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