13 public ToastTransition
ShowTransition {
get;
set; } = ToastTransition.SlideFromTop;
18 public ToastTransition
HideTransition {
get;
set; } = ToastTransition.SlideFromTop;
28 public TimeSpan Duration
33 if (value < TimeSpan.Zero)
34 this.duration = TimeSpan.Zero;
36 this.duration = value;
43 public ToastPlacement
Placement {
get;
set; } = ToastPlacement.Top;
45 private TimeSpan duration = TimeSpan.FromSeconds(3);
Options controlling toast presentation.
bool AutoDismiss
Gets or sets whether the toast is dismissed automatically after Duration.
ToastTransition ShowTransition
Gets or sets the transition used when the toast is shown.
ToastPlacement Placement
Gets or sets the preferred placement for the toast overlay.
ToastTransition HideTransition
Gets or sets the transition used when the toast is dismissed.