-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
FragmentPrintControl.xaml.cs
33 lines (28 loc) · 1.03 KB
/
FragmentPrintControl.xaml.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System.Windows;
using System.Windows.Controls;
namespace Leosac.KeyManager.Library.UI
{
/// <summary>
/// Interaction logic for FragmentPrintControl.xaml
/// </summary>
public partial class FragmentPrintControl : UserControl
{
public FragmentPrintControl()
{
InitializeComponent();
}
public string Fragment
{
get { return (string)GetValue(FragmentProperty); }
set { SetValue(FragmentProperty, value); }
}
public static readonly DependencyProperty FragmentProperty = DependencyProperty.Register(nameof(Fragment), typeof(string), typeof(FragmentPrintControl));
public string Note
{
get { return (string)GetValue(NoteProperty); }
set { SetValue(NoteProperty, value); }
}
public static readonly DependencyProperty NoteProperty = DependencyProperty.Register(nameof(Note), typeof(string), typeof(FragmentPrintControl),
new FrameworkPropertyMetadata(""));
}
}