corelibraries-devexpress-dot-mvvm-dot-uicommand-a478546c.md
Gets or sets the image displayed in the dialog button.
Namespace : DevExpress.Mvvm
Assembly : DevExpress.Mvvm.v25.2.dll
NuGet Packages : DevExpress.Mvvm, DevExpress.Win.Navigation
public object Glyph { get; set; }
Public Property Glyph As Object
| Type | Description |
|---|---|
| Object |
The image displayed in the dialog button.
|
The Glyph property contains an inner converter that allows you to use various techniques to assign an image to this property. For example, you can specify a string path, Uri, stream, byte array, ImageSource, or SvgImage.
Glyph = "Apply.png",
Glyph = "pack://application:,,,/DevExpress.Images.v22.2;component/SvgImages/Icon Builder/Actions_Check.svg",
Glyph = new System.Uri("pack://application:,,,/DevExpress.Images.v22.2;component/SvgImages/Icon Builder/Actions_Check.svg"),
Glyph = new BitmapImage(new System.Uri("pack://application:,,,/Apply.png")),
Glyph = DevExpress.Utils.Svg.SvgImage.FromFile("Apply.svg"),
.Glyph = "Apply.png",
.Glyph = "pack://application:,,,/DevExpress.Images.v22.2;component/SvgImages/Icon Builder/Actions_Check.svg",
.Glyph = New System.Uri("pack://application:,,,/DevExpress.Images.v22.2;component/SvgImages/Icon Builder/Actions_Check.svg"),
.Glyph = New BitmapImage(New System.Uri("pack://application:,,,/Apply.png")),
.Glyph = DevExpress.Utils.Svg.SvgImage.FromFile("Apply.svg")
See Also