1 using System.ComponentModel;
2 using Tizen.NUI.BaseComponents;
3 using Tizen.NUI.Binding;
5 namespace Tizen.NUI.Components
7 public partial class DefaultTitleItem
12 [EditorBrowsable(EditorBrowsableState.Never)]
13 public static readonly BindableProperty IconProperty = BindableProperty.Create(nameof(Icon), typeof(View), typeof(DefaultTitleItem), null, propertyChanged: (bindable, oldValue, newValue) =>
15 var instance = (DefaultTitleItem)bindable;
18 instance.InternalIcon = newValue as View;
21 defaultValueCreator: (bindable) =>
23 var instance = (DefaultTitleItem)bindable;
24 return instance.InternalIcon;
30 [EditorBrowsable(EditorBrowsableState.Never)]
31 public static readonly BindableProperty TextProperty = BindableProperty.Create(nameof(Text), typeof(string), typeof(DefaultTitleItem), default(string), propertyChanged: (bindable, oldValue, newValue) =>
33 var instance = (DefaultTitleItem)bindable;
36 instance.InternalText = newValue as string;
39 defaultValueCreator: (bindable) =>
41 var instance = (DefaultTitleItem)bindable;
42 return instance.InternalText;