Skip to main content

DxEditorButton.IconPosition Property

Specifies the icon’s position.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public ButtonIconPosition IconPosition { get; set; }

Property Value

Type Description
ButtonIconPosition

A ButtonIconPosition enumeration value.

Available values:

Name Description
BeforeText

The icon is placed before the button’s text.

AfterText

The icon is placed after the button’s text.

Remarks

Connect an icon library to your project to add an icon to the button. Use the IconPosition property to specify the icon’s position. Assign the icon’s CSS class to the IconCssClass property.

DevExpress Blazor components support pre-defined icon sets (such as Iconic or Bootstrap-recommended libraries) and custom icon libraries. Refer to the following topic for more information: Icons.

See Also