[NUI] Change GetDefaultWindow() to static func (#900)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / XamlBinding / BindablePropertyKey.cs
1 using System;
2 using System.ComponentModel;
3
4 namespace Tizen.NUI.Binding
5 {
6     /// <summary>
7     /// The secret key to a BindableProperty, used to implement a BindableProperty with restricted write access.
8     /// </summary>
9     [EditorBrowsable(EditorBrowsableState.Never)]
10     public sealed class BindablePropertyKey
11     {
12         internal BindablePropertyKey(BindableProperty property)
13         {
14             if (property == null)
15                 throw new ArgumentNullException("property");
16
17             BindableProperty = property;
18         }
19
20         /// <summary>
21         /// Gets the BindableProperty.
22         /// </summary>
23         public BindableProperty BindableProperty { get; private set; }
24     }
25 }