Skip to main content
Tab

MenuItemImageSpriteProperties Members

Contains settings that define different states of a menu item image (disabled, hottracked, selected, checked) when it’s taken from a sprite image.

Constructors

Name Description
MenuItemImageSpriteProperties() Initializes a new instance of the MenuItemImageSpriteProperties class with default settings.
MenuItemImageSpriteProperties(IPropertiesOwner) Initializes a new instance of the MenuItemImageSpriteProperties class with the specified owner.

Properties

Name Description
CheckedCssClass Gets or sets the name of the cascading style sheet (CSS) class that defines a checked state image’s position within a custom sprite image.
CheckedLeft Gets or sets a checked state image’s horizontal offset within a sprite image specified via a control’s SpriteImageUrl property.
CheckedTop Gets or sets a checked state image’s vertical offset within a sprite image specified via a control’s SpriteImageUrl property.
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. Inherited from ItemImageSpriteProperties.
DisabledLeft Gets or sets a disabled state image’s horizontal offset within a sprite image, specified via a control’s SpriteImageUrl property. Inherited from ItemImageSpriteProperties.
DisabledTop Gets or sets a disabled state image’s vertical offset within a sprite image, specified via a control’s SpriteImageUrl property. Inherited from ItemImageSpriteProperties.
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. Inherited from ItemImageSpriteProperties.
HottrackedLeft Gets or sets a hottracked state image’s horizontal offset within a sprite image specified via a control’s SpriteImageUrl property. Inherited from ItemImageSpriteProperties.
HottrackedTop Gets or sets a hottracked state image’s vertical offset within a sprite image specified via a control’s SpriteImageUrl property. Inherited from ItemImageSpriteProperties.
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.
SelectedCssClass Gets or sets the name of the cascading style sheet (CSS) class that defines a selected state image’s position within a custom sprite image. Inherited from ItemImageSpriteProperties.
SelectedLeft Gets or sets a selected state image’s horizontal offset within a sprite image specified via a control’s SpriteImageUrl property. Inherited from ItemImageSpriteProperties.
SelectedTop Gets or sets a selected state image’s vertical offset within a sprite image, specified via a control’s SpriteImageUrl property. Inherited from ItemImageSpriteProperties.
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