menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class IconPosition - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved