Skip to main content
Tab

ImageSpriteProperties Members

Serves as a base for classes that provide sprite settings of an image, defining it within a sprite image.

Constructors

Name Description
ImageSpriteProperties() Initializes a new instance of the ImageSpriteProperties class with default settings.
ImageSpriteProperties(IPropertiesOwner) Initializes a new instance of the ImageSpriteProperties 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.
Left Gets or sets a normal state image’s horizontal 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.

Methods

Name Description
Assign(PropertiesBase) Copies the settings from the specified PropertiesBase object to the current object.
CopyFrom(PropertiesBase) Duplicates the properties of the specified object into the current instance of the ImageSpriteProperties class.
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.
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.
ToString() Returns the string that represents the current object. Inherited from StateManager.
See Also