wpf-devexpress-dot-xpf-dot-core-dot-simplebutton.md
Gets or sets the image displayed within the button. This is a dependency property.
Namespace : DevExpress.Xpf.Core
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public ImageSource Glyph { get; set; }
Public Property Glyph As ImageSource
| Type | Description |
|---|---|
| ImageSource |
A System.Windows.Media.ImageSource object that specifies the image displayed within the button.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Glyph property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-imageedit-edit-images-in-separate-window/CS/ImageEditToEditModeBehavior/EditImageWindow.xaml#L26
<dx:SimpleButton Command="{DXBinding '@e(editBehavior).UndoCommand'}"
Glyph="{dx:DXImage 'SvgImages/Icon Builder/Actions_Undo.svg'}"
ToolTip="Undo"/>
See Also