Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V22.2
  • UICommand.Glyph Property

    Gets or sets the image displayed in the dialog button.

    Namespace: DevExpress.Mvvm

    Assembly: DevExpress.Mvvm.v22.2.dll

    NuGet Package: DevExpress.Mvvm

    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