Skip to main content

ButtonIconPosition Enum

Lists values that specify the icon’s position within the button.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public enum ButtonIconPosition

Members

Name Description
BeforeText

The icon is placed before the button’s text.

AfterText

The icon is placed after the button’s text.

Related API Members

The following properties accept/return ButtonIconPosition values:

Remarks

The ButtonIconPosition enumeration values specify the position of the icon in a button. Use the IconPosition property to define the icon’s position.

<DxButton RenderStyle="ButtonRenderStyle.Dark" Text="Accept" IconCssClass="accept" />
<DxButton RenderStyle="ButtonRenderStyle.Dark" Text="Email" IconCssClass="email" IconPosition="ButtonIconPosition.AfterText" />

Button Icons

Run Demo: Button — Icons

See Also