1 using System.ComponentModel;
2 using Tizen.NUI.BaseComponents;
3 using Tizen.NUI.Binding;
5 namespace Tizen.NUI.Components
7 public partial class DefaultGridItem
12 [EditorBrowsable(EditorBrowsableState.Never)]
13 public static readonly BindableProperty BadgeProperty = BindableProperty.Create(nameof(Badge), typeof(View), typeof(DefaultGridItem), null, propertyChanged: (bindable, oldValue, newValue) =>
15 var instance = (DefaultGridItem)bindable;
18 instance.InternalBadge = newValue as View;
21 defaultValueCreator: (bindable) =>
23 var instance = (DefaultGridItem)bindable;
24 return instance.InternalBadge;
30 [EditorBrowsable(EditorBrowsableState.Never)]
31 public static readonly BindableProperty TextProperty = BindableProperty.Create(nameof(Text), typeof(string), typeof(DefaultGridItem), default(string), propertyChanged: (bindable, oldValue, newValue) =>
33 var instance = (DefaultGridItem)bindable;
36 instance.InternalText = newValue as string;
39 defaultValueCreator: (bindable) =>
41 var instance = (DefaultGridItem)bindable;
42 return instance.InternalText;
46 /// LabelOrientationTypeProperty
48 [EditorBrowsable(EditorBrowsableState.Never)]
49 public static readonly BindableProperty LabelOrientationTypeProperty = BindableProperty.Create(nameof(LabelOrientationType), typeof(Tizen.NUI.Components.DefaultGridItem.LabelOrientation), typeof(DefaultGridItem), default(LabelOrientation), propertyChanged: (bindable, oldValue, newValue) =>
51 var instance = (DefaultGridItem)bindable;
54 instance.InternalLabelOrientationType = (Tizen.NUI.Components.DefaultGridItem.LabelOrientation)newValue;
57 defaultValueCreator: (bindable) =>
59 var instance = (DefaultGridItem)bindable;
60 return instance.InternalLabelOrientationType;