ImageButtonInfo.GlyphStyle Property
Gets or sets a style applied to the button’s glyph (Glyph). This is a dependency property.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
Style | A Style object applied to the button’s glyph. |
Remarks
The following code sample specifies the GlyphStyle (“myGlyphStyle”) and applies the style to the ButtonEdit‘s image:
<Window ...
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">
<Window.Resources>
<Style x:Key="myGlyphStyle" TargetType="Image">
<Setter Property="Height" Value="12"/>
<Setter Property="Width" Value="12"/>
</Style>
</Window.Resources>
<dxe:ButtonEdit Text="Input a value">
<dxe:ImageButtonInfo Glyph="/DevExpress.Images.v20.1;component/SvgImages/Outlook Inspired/Glyph_Phone.svg"
GlyphStyle="{StaticResource myGlyphStyle}"/>
</dxe:ButtonEdit>
</Window>
See Also