Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ButtonIconPosition Enum

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
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

#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