Skip to main content

ImageButtonInfo.Glyph Property

Gets or sets the button’s glyph. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public ImageSource Glyph { get; set; }

Property Value

Type Description
ImageSource

A ImageSource object that is the button’s glyph.

Remarks

The following code sample specifies the ButtonEdit‘s image:

<Window ...
  xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">
  <dxe:ButtonEdit Text="Input a value">
    <dxe:ImageButtonInfo Glyph="/DevExpress.Images.v20.1;component/SvgImages/Outlook Inspired/Glyph_Phone.svg"/>
  </dxe:ButtonEdit>
</Window>

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.

See Also