Files
@ 5e28ba3945f7
Branch filter:
Location: ATITD-Tools/Desert-Paint-Codex/Views/EmbeddedWarningBox.axaml.cs - annotation
5e28ba3945f7
1.1 KiB
text/x-csharp
Recipe count is now a ulong instead of an int so it can show values > 2.47 billion. Also, don't allow clearing the recipe list while the recipe generator is running.
40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 a8c7548cacbb a8c7548cacbb a8c7548cacbb a8c7548cacbb a8c7548cacbb 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 | using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
namespace DesertPaintCodex.Views
{
public class EmbeddedWarningBox : UserControl
{
public static readonly StyledProperty<string> TitleProperty =
AvaloniaProperty.Register<EmbeddedWarningBox, string>(nameof(Title));
public string Title { get => GetValue(TitleProperty); set => SetValue(TitleProperty, value); }
public static readonly StyledProperty<string> MessageProperty =
AvaloniaProperty.Register<EmbeddedWarningBox, string>(nameof(Message));
public string Message { get => GetValue(MessageProperty); set => SetValue(MessageProperty, value); }
public static readonly StyledProperty<string> Message2Property =
AvaloniaProperty.Register<EmbeddedWarningBox, string>(nameof(Message2));
public string Message2 { get => GetValue(Message2Property); set => SetValue(Message2Property, value); }
public EmbeddedWarningBox()
{
InitializeComponent();
}
private void InitializeComponent()
{
AvaloniaXamlLoader.Load(this);
}
}
}
|