Back to Devexpress

CommandButton.GlyphStretch Property

wpf-devexpress-dot-xpf-dot-windowsui-dot-commandbutton-08a322db.md

latest1.9 KB
Original Source

CommandButton.GlyphStretch Property

Gets or sets how the icon is stretched to fill the button. This is a dependency property.

Namespace : DevExpress.Xpf.WindowsUI

Assembly : DevExpress.Xpf.Controls.v25.2.dll

NuGet Package : DevExpress.Wpf.Controls

Declaration

csharp
public Stretch GlyphStretch { get; set; }
vb
Public Property GlyphStretch As Stretch

Property Value

TypeDescription
Stretch

A Stretch enumeration value that specifies how the icon is stretched to fill the button. The default is Stretch.Uniform.

|

Remarks

You can specify the icon for the current button using the CommandButton.Glyph property. The CommandButton.GlyphWidth and CommandButton.GlyphHeight properties specify the dimensions of the frame into which the icon is fitted. The GlyphStretch property specifies how the icon is stretched to fill the frame.

See Also

GlyphWidth

GlyphHeight

Glyph

CommandButton Class

CommandButton Members

DevExpress.Xpf.WindowsUI Namespace