2 using Tizen.NUI.XamlBinding;
4 namespace Tizen.NUI.StyleSheets
6 [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true, Inherited = true)]
7 internal sealed class StylePropertyAttribute : Attribute
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;
17 public StylePropertyAttribute(string cssPropertyName, Type targetType, string bindablePropertyName)
19 CssPropertyName = cssPropertyName;
20 BindablePropertyName = bindablePropertyName;
21 TargetType = targetType;