Skip to main content

BackstageButtonItem.Glyph Property

Gets or sets the item's image. This is a dependency property.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v14.2.dll

#Declaration

public ImageSource Glyph { get; set; }

#Property Value

Type Description
ImageSource

A System.Windows.Media.ImageSource object.

#Remarks

Use the Glyph in case you want to set a button item's picture. Glyph accepts any image file extensions (.jpg, .bmp, .pgn etc). Using a GIF-animated picture will result in displays of only the first frame. Please notice that including an extension to a filename is necessary.

An image is placed inside a container. You can change this container's properties using the BackstageButtonItem.GlyphContainerStyle or the image properties directly, using BackstageButtonItem.GlyphStyle.

See Also