wabbajack/Wabbajack/Views/Common/BeginButton.xaml.cs

26 lines
718 B
C#
Raw Normal View History

2019-11-21 14:25:40 +00:00
using System.Windows;
2019-11-09 05:46:36 +00:00
using System.Windows.Controls;
using System.Windows.Input;
namespace Wabbajack
{
/// <summary>
/// Interaction logic for BeginButton.xaml
/// </summary>
public partial class BeginButton : UserControl
{
public ICommand Command
{
get => (ICommand)GetValue(CommandProperty);
set => SetValue(CommandProperty, value);
}
public static readonly DependencyProperty CommandProperty = DependencyProperty.Register(nameof(Command), typeof(ICommand), typeof(BeginButton),
new FrameworkPropertyMetadata(default(ICommand)));
2019-11-09 05:46:36 +00:00
public BeginButton()
{
InitializeComponent();
}
}
}