2 using System.Collections.Generic;
5 using System.Threading.Tasks;
6 using Tizen.NUI.BaseComponents;
7 using Tizen.NUI.Binding;
9 namespace Tizen.NUI.Devel.Tests
11 public class UIElement : View, IResourcesProvider
13 public static readonly BindableProperty IntPProperty = BindableProperty.Create(nameof(IntP), typeof(int), typeof(UIElement), 0, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
16 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
21 public static readonly BindableProperty StringPProperty = BindableProperty.Create(nameof(StringP), typeof(string), typeof(UIElement), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
23 (bindable as UIElement).stringP = newValue as string;
25 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
27 return (bindable as UIElement).stringP;
30 public static readonly BindableProperty FloatPProperty = BindableProperty.Create(nameof(FloatP), typeof(float), typeof(UIElement), 0.0f, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
33 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
43 public UIElement(int p)
48 public UIElement(int[] p)
59 public UIElement(TestEnum p)
64 public class TestNestType
66 public TestNestType(int p = 0)
72 public UIElement(TestNestType p)
77 public UIElement(UIElement p)
82 public static UIElement FactoryMethod(int p1, string p2, float p3)
84 return new UIElement();
91 return (int)GetValue(IntPProperty);
95 SetValue(IntPProperty, value);
99 private string stringP;
100 public string StringP
104 return (string)GetValue(StringPProperty);
108 SetValue(StringPProperty, value);
116 return (float)GetValue(FloatPProperty);
120 SetValue(FloatPProperty, value);