menu

Blazor

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

    Show / Hide Table of Contents

    Class ProgressDirection

    Specifies the direction types for progress bar animations in Toast notifications.

    Inheritance
    System.Object
    ProgressDirection
    Namespace: Syncfusion.Blazor.Notifications
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public sealed class ProgressDirection : Enum
    Remarks

    This enumeration defines the direction in which the progress bar animation moves within Toast notifications. The direction affects how the progress indicator visually represents the remaining time before the Toast automatically closes.

    Examples

    Configuring progress bar direction:

    <SfToast ShowProgressBar="true">
        <ToastAnimationSettings>
            <ToastProgressBarSettings Direction="ProgressDirection.LTR" />
        </ToastAnimationSettings>
    </SfToast>

    Fields

    LTR

    Specifies left-to-right (LTR) direction for the progress bar animation.

    Declaration
    public const ProgressDirection LTR
    Field Value
    Type
    ProgressDirection
    Remarks

    In LTR direction, the progress bar starts from the left side and moves toward the right as time progresses. This is the default and most common direction, typically used in left-to-right language environments and standard UI designs where progress naturally flows from left to right.

    RTL

    Specifies right-to-left (RTL) direction for the progress bar animation.

    Declaration
    public const ProgressDirection RTL
    Field Value
    Type
    ProgressDirection
    Remarks

    In RTL direction, the progress bar starts from the right side and moves toward the left as time progresses. This direction is typically used in right-to-left language environments or when the design requires the progress indicator to move from right to left.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved