ButtonInfo.GlyphKind Property
Gets or sets the type of the button's image. This is a dependency property.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
Glyph |
A Glyph |
#Remarks
A button can display a predefined image, or a custom image or content specified by the ButtonInfo.Content property. A custom image can be displayed within a button if the GlyphKind property is set to GlyphKind.Custom or GlyphKind.User. The difference between Custom and User, is in the margins. If the GlyphKind property is set to User, the content is displayed with margins. If the GlyphKind property is set to Custom, the content is displayed without margins. In this instance, you should define the ButtonInfo.ContentTemplate to specify margins.