mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-22 02:21:27 -07:00
27 lines
1.2 KiB
C#
27 lines
1.2 KiB
C#
using System.Windows;
|
|
using System.Windows.Media;
|
|
using System.Windows.Media.Imaging;
|
|
|
|
namespace Bloxstrap.UI.ViewModels.Bootstrapper
|
|
{
|
|
public class ByfronDialogViewModel : BootstrapperDialogViewModel
|
|
{
|
|
// Using dark theme for default values.
|
|
public ImageSource ByfronLogoLocation { get; set; } = new BitmapImage(new Uri("pack://application:,,,/Resources/BootstrapperStyles/ByfronDialog/ByfronLogoDark.jpg"));
|
|
public Thickness DialogBorder { get; set; } = new Thickness(0);
|
|
public Brush Background { get; set; } = Brushes.Black;
|
|
public Brush Foreground { get; set; } = new SolidColorBrush(Color.FromRgb(239, 239, 239));
|
|
public Brush IconColor { get; set; } = new SolidColorBrush(Color.FromRgb(255, 255, 255));
|
|
public Brush ProgressBarBackground { get; set; } = new SolidColorBrush(Color.FromRgb(86, 86, 86));
|
|
|
|
public Visibility VersionTextVisibility => CancelEnabled ? Visibility.Collapsed : Visibility.Visible;
|
|
|
|
public string VersionText { get; init; }
|
|
|
|
public ByfronDialogViewModel(IBootstrapperDialog dialog, string version) : base(dialog)
|
|
{
|
|
VersionText = version;
|
|
}
|
|
}
|
|
}
|