CommandButton.GlyphHeight Property
Gets or sets the height of the frame into which the button icon is fitted. This is a dependency property.
Namespace: DevExpress.Xpf.WindowsUI
Assembly: DevExpress.Xpf.Controls.v24.2.dll
NuGet Package: DevExpress.Wpf.Controls
Declaration
Property Value
Type | Description |
---|---|
Double | A Double value that specifies the height, in pixels, of the frame into which the icon is fitted. |
Remarks
You can specify the icon for the current button using the CommandButton.Glyph property. The GlyphHeight and CommandButton.GlyphWidth properties specify the dimensions of the frame into which the icon is fitted. The CommandButton.GlyphStretch property specifies how the icon is stretched to fill the frame.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GlyphHeight 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.