Skip to main content
All docs
V23.2

UICommand.Glyph Property

Gets or sets the image displayed in the dialog button.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v23.2.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation

Declaration

public object Glyph { get; set; }

Property Value

Type Description
Object

The image displayed in the dialog button.

Remarks

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"),
See Also