You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using BPASmartClient.CustomResource.UserControls.Enum;
- using System;
- using System.Globalization;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Controls.Primitives;
- using System.Windows.Data;
- using System.Windows.Media;
- using System.Windows.Threading;
-
- namespace BPASmartClient.CustomResource.UserControls.Model
- {
- public class ToastOptions
- {
- public double ToastWidth { get; set; }
- public double ToastHeight { get; set; }
- public double TextWidth { get; set; }
- public int Time { get; set; } = 2000;
- public ToastIcons Icon { get; set; } = ToastIcons.None;
- public ToastLocation Location { get; set; } = ToastLocation.Default;
- public Brush Foreground { get; set; } = (Brush)new BrushConverter().ConvertFromString("#031D38");
- public Brush IconForeground { get; set; } = (Brush)new BrushConverter().ConvertFromString("#00D91A");
- public FontStyle FontStyle { get; set; } = SystemFonts.MessageFontStyle;
- public FontStretch FontStretch { get; set; } = FontStretches.Normal;
- public double FontSize { get; set; } = SystemFonts.MessageFontSize;
- public FontFamily FontFamily { get; set; } = SystemFonts.MessageFontFamily;
- public FontWeight FontWeight { get; set; } = SystemFonts.MenuFontWeight;
- public double IconSize { get; set; } = 26;
- public CornerRadius CornerRadius { get; set; } = new CornerRadius(5);
- public Brush BorderBrush { get; set; } = (Brush)new BrushConverter().ConvertFromString("#CECECE");
- public Thickness BorderThickness { get; set; } = new Thickness(0);
- public Brush Background { get; set; } = (Brush)new BrushConverter().ConvertFromString("#FFFFFF");
- public HorizontalAlignment HorizontalContentAlignment { get; set; } = HorizontalAlignment.Center;
- public VerticalAlignment VerticalContentAlignment { get; set; } = VerticalAlignment.Center;
- public EventHandler<EventArgs> Closed { get; internal set; }
- public EventHandler<EventArgs> Click { get; internal set; }
- public Thickness ToastMargin { get; set; } = new Thickness(2);
- }
- }
|