Revert "[NUI] Fix ConvertIdToView (#877)" (#889)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI.Xaml / src / internal / XamlBinding / StyleSheets / StylePropertyAttribute.cs
1 using System;
2 using Tizen.NUI.XamlBinding;
3
4 namespace Tizen.NUI.StyleSheets
5 {
6     [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true, Inherited = true)]
7     internal sealed class StylePropertyAttribute : Attribute
8     {
9         public string CssPropertyName { get; }
10         public string BindablePropertyName { get; }
11         public Type TargetType { get; }
12         public Type PropertyOwnerType { get; set; }
13         public BindableProperty BindableProperty { get; set; }
14         public bool Inherited { get; set; } = false;
15
16
17         public StylePropertyAttribute(string cssPropertyName, Type targetType, string bindablePropertyName)
18         {
19             CssPropertyName = cssPropertyName;
20             BindablePropertyName = bindablePropertyName;
21             TargetType = targetType;
22         }
23     }
24 }