nice features

This commit is contained in:
2020-02-18 20:08:06 +01:00
parent 2467cad2a1
commit b910d3a1e6
6 changed files with 64 additions and 25 deletions

View File

@@ -1,9 +1,18 @@
using ModernWpf.Controls;
using System.Windows;
namespace ModernWpfPlayground
{
public partial class ContentDialogExample : ContentDialog
public partial class ContentDialogExample
{
public static readonly DependencyProperty MessageProperty = DependencyProperty.Register(
"Message", typeof(string), typeof(ContentDialogExample), new PropertyMetadata(default(string)));
public string Message
{
get => (string) GetValue(MessageProperty);
set => SetValue(MessageProperty, value);
}
public ContentDialogExample()
{
InitializeComponent();