Skip to main content
Bar

BarItemImageOptions Members

Provides options to specify images and image settings for bar items.

Constructors

Name Description
BarItemImageOptions(BarItem) Initializes a new instance of the BarItemImageOptions class.

Properties

Name Description
AllowGlyphSkinning Gets or sets whether glyphs for this BarItem should be painted using the text foreground color.
AllowStubGlyph Gets or sets whether or not this item and all its links should display a stub glyph when it has no custom icon assigned.
DefaultSvgImage Gets or sets the default vector image.
DefaultSvgImageSize Gets or sets the size of the default vector image.
DisabledImage Gets or sets the image corresponding to the item’s disabled state.
DisabledImageIndex Gets or sets the index of the image that corresponds to the item’s disabled state.
DisabledLargeImage Gets or sets the large image that corresponds to the item’s disabled state.
DisabledLargeImageIndex Gets or sets the index of the large image that corresponds to the item’s disabled state.
DisabledSvgImage Gets or sets the vector image for the item’s disabled state.
DisabledSvgImageSize Gets or sets the required size of the vector image in disabled state.
HasDefaultImageUriImage Returns whether or not this BarItemImageOptions has a context-dependent image.
HasImage Gets whether or not this BarItem has a glyph assigned.
HasLargeImage Gets whether or not this BarItem has a large glyph assigned.
HasLargeImageUriImage Returns whether or not this BarItemImageOptions has a context-dependent large image.
HasSvgImage Returns whether or not this BarItemImageOptions has a vector icon assigned to it.
Image Gets or sets the BarItem‘s glyph.
ImageIndex Gets or sets the index of a small glyph assigned to this BarItem.
ImageUri

Gets or sets the uniform resource identifier of the glyph in the DX Image Gallery displayed in the current BarItem. A specific version of the addressed image is automatically chosen based on the app context (the current skin and required image size).

Item Returns the BarItem that owns these image settings.
LargeImage Gets or sets the item’s large image.
LargeImageIndex Gets or sets the index of the large image in the image source collection.
LargeImages Gets the source of large glyphs.
SvgImage Gets or sets a vector image displayed in the item.
SvgImageSize Gets or sets the required size of the vector image.

Methods

Name Description
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.
GetImageCollectionImage(ISvgPaletteProvider, Boolean, Boolean) Returns the required image form the associated image collections.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
See Also