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.v21.1.dll

Declaration

public GlyphKind GlyphKind { get; set; }

Property Value

Type Description
GlyphKind

A GlyphKind enumeration value that specifies the image type.

Available values:

Show 22 items
Name Description
None

No specific symbol is displayed within a button.

User

The button uses the common template and displays custom content specified by the Content property.

Custom

The button displays custom content specified by the Content property.

DropDown

A button displays a dropdown glyph.

Regular

A button displays an ellipsis symbol.

Right

A button displays a Right symbol.

Left

A button displays a left arrow.

Up

A button displays an Up arrow.

Down

A button displays a down arrow.

Cancel

A button displays a Cancel symbol.

Apply

A button displays an Apply symbol.

Plus

A button displays a Plus sign.

Minus

A button displays a Minus sign.

Redo

A button displays a Redo symbol.

Undo

A button displays an Undo symbol.

Refresh

A button displays a Refresh symbol.

Search

A button displays a Search symbol.

NextPage

A button displays a Next Page symbol.

PrevPage

A button displays a Prev Page symbol.

Last

A button displays a Move Last symbol.

First

A button displays a Move First symbol.

Edit

A button displays an Edit symbol.

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.

Value Appearance Margins
GlyphKind.Custom no
GlyphKind.User yes
See Also