add Empty

This commit is contained in:
NaBian committed 2021-01-17 22:29:12 +08:00
1 parent 74eaafc056
commit 461a236148
37 files changed
+523 -187

No files matched your search

@@ -0,0 +1,26 @@
using System.Windows;
using System.Windows.Controls;
namespace HandyControl.Controls
{
public class Empty : ContentControl
{
public static readonly DependencyProperty DescriptionProperty = DependencyProperty.Register(
"Description", typeof(object), typeof(Empty), new PropertyMetadata(default(object)));
public object Description
{
get => GetValue(DescriptionProperty);
set => SetValue(DescriptionProperty, value);
}
public static readonly DependencyProperty LogoProperty = DependencyProperty.Register(
"Logo", typeof(object), typeof(Empty), new PropertyMetadata(default(object)));
public object Logo
{
get => GetValue(LogoProperty);
set => SetValue(LogoProperty, value);
}
}
}