Files
@ a1bd6e3474d6
Branch filter:
Location: ATITD-Tools/Desert-Paint-Codex/Views/EmbeddedWarningBox.axaml.cs - annotation
a1bd6e3474d6
913 B
text/x-csharp
Should now extraplate white reactions if any of the channels didn't clip.
40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 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 EmbeddedWarningBox()
{
InitializeComponent();
}
private void InitializeComponent()
{
AvaloniaXamlLoader.Load(this);
}
}
}
|