Welcome to mirror list, hosted at ThFree Co, Russian Federation.

PropertyEditorControl.cs « Xamarin.PropertyEditing.Windows - github.com/xamarin/Xamarin.PropertyEditing.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5795d878b06957c234305ff59ee903012bdb956a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System.Windows;
using System.Windows.Controls;

namespace Xamarin.PropertyEditing.Windows
{
	public abstract class PropertyEditorControl
		: Control
	{
		static PropertyEditorControl ()
		{
			FocusableProperty.OverrideMetadata (typeof(PropertyEditorControl), new FrameworkPropertyMetadata (false));
		}

		public static readonly DependencyProperty LabelProperty = DependencyProperty.Register (
			nameof(Label), typeof(object), typeof(PropertyEditorControl), new PropertyMetadata (default(object)));

		public object Label
		{
			get { return (object) GetValue (LabelProperty); }
			set { SetValue (LabelProperty, value); }
		}
	}
}