Class IconPosition
Specifies the layout position of an icon inside a SfButton.
Inheritance
System.Object
IconPosition
Namespace: Syncfusion.Blazor.Buttons
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class IconPosition : Enum
Remarks
This enumeration determines where the icon is placed relative to the button content: left, right, above, or below.
Examples
<SfButton IconCss="e-icons e-search" IconPosition="IconPosition.Top" Content="Search" />
Fields
Bottom
Positions the icon below the button content.
Declaration
public const IconPosition Bottom
Field Value
Type |
---|
IconPosition |
Left
Positions the icon to the left of the button content.
Declaration
public const IconPosition Left
Field Value
Type |
---|
IconPosition |
Right
Positions the icon to the right of the button content.
Declaration
public const IconPosition Right
Field Value
Type |
---|
IconPosition |
Top
Positions the icon above the button content.
Declaration
public const IconPosition Top
Field Value
Type |
---|
IconPosition |