Class ProgressDirection
Specifies the direction types for progress bar animations in Toast notifications.
Inheritance
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.