9ba8fd236a1b92be5f3540dfa1387b03a10af16e
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / BaseComponents / TextFieldBindableProperty.cs
1 /*
2  * Copyright(c) 2021 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17
18 using System.ComponentModel;
19 using Tizen.NUI.Binding;
20
21 namespace Tizen.NUI.BaseComponents
22 {
23     /// <summary>
24     /// A control which provides a single line editable text field.
25     /// </summary>
26     /// <since_tizen> 3 </since_tizen>
27     public partial class TextField
28     {
29         /// <summary>
30         /// StyleNameProperty
31         /// </summary>
32         [EditorBrowsable(EditorBrowsableState.Never)]
33         public static readonly BindableProperty TranslatableTextProperty = BindableProperty.Create(nameof(TranslatableText), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
34         {
35             var textField = (TextField)bindable;
36             if (newValue != null)
37             {
38                 textField.translatableText = (string)newValue;
39             }
40         },
41         defaultValueCreator: (bindable) =>
42         {
43             var textField = (TextField)bindable;
44             return textField.translatableText;
45         });
46         /// <summary>
47         /// StyleNameProperty
48         /// </summary>
49         [EditorBrowsable(EditorBrowsableState.Never)]
50         public static readonly BindableProperty TranslatablePlaceholderTextProperty = BindableProperty.Create(nameof(TranslatablePlaceholderText), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
51         {
52             var textField = (TextField)bindable;
53             if (newValue != null)
54             {
55                 textField.translatablePlaceholderText = (string)newValue;
56             }
57         },
58         defaultValueCreator: (bindable) =>
59         {
60             var textField = (TextField)bindable;
61             return textField.translatablePlaceholderText;
62         });
63         /// <summary>
64         /// TranslatablePlaceholderTextFocused property
65         /// </summary>
66         [EditorBrowsable(EditorBrowsableState.Never)]
67         public static readonly BindableProperty TranslatablePlaceholderTextFocusedProperty = BindableProperty.Create(nameof(TranslatablePlaceholderTextFocused), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
68         {
69             var textField = (TextField)bindable;
70             if (newValue != null)
71             {
72                 textField.translatablePlaceholderTextFocused = (string)newValue;
73             }
74         },
75         defaultValueCreator: (bindable) =>
76         {
77             var textField = (TextField)bindable;
78             return textField.translatablePlaceholderTextFocused;
79         });
80         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
81         [EditorBrowsable(EditorBrowsableState.Never)]
82         public static readonly BindableProperty TextProperty = BindableProperty.Create(nameof(Text), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
83         {
84             var textField = (TextField)bindable;
85             if (newValue != null)
86             {
87                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.TEXT, new Tizen.NUI.PropertyValue((string)newValue));
88             }
89         }),
90         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
91         {
92             var textField = (TextField)bindable;
93             string temp;
94             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.TEXT).Get(out temp);
95             return temp;
96         }));
97         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
98         [EditorBrowsable(EditorBrowsableState.Never)]
99         public static readonly BindableProperty PlaceholderTextProperty = BindableProperty.Create(nameof(PlaceholderText), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
100         {
101             var textField = (TextField)bindable;
102             if (newValue != null)
103             {
104                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderText, new Tizen.NUI.PropertyValue((string)newValue));
105             }
106         }),
107         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
108         {
109             var textField = (TextField)bindable;
110             string temp;
111             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderText).Get(out temp);
112             return temp;
113         }));
114         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
115         [EditorBrowsable(EditorBrowsableState.Never)]
116         public static readonly BindableProperty PlaceholderTextFocusedProperty = BindableProperty.Create(nameof(PlaceholderTextFocused), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
117         {
118             var textField = (TextField)bindable;
119             if (newValue != null)
120             {
121                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderTextFocused, new Tizen.NUI.PropertyValue((string)newValue));
122             }
123         }),
124         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
125         {
126             var textField = (TextField)bindable;
127             string temp;
128             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderTextFocused).Get(out temp);
129             return temp;
130         }));
131         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
132         [EditorBrowsable(EditorBrowsableState.Never)]
133         public static readonly BindableProperty FontFamilyProperty = BindableProperty.Create(nameof(FontFamily), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
134         {
135             var textField = (TextField)bindable;
136             if (newValue != null)
137             {
138                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.FontFamily, new Tizen.NUI.PropertyValue((string)newValue));
139             }
140         }),
141         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
142         {
143             var textField = (TextField)bindable;
144             string temp;
145             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.FontFamily).Get(out temp);
146             return temp;
147         }));
148         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
149         [EditorBrowsable(EditorBrowsableState.Never)]
150         public static readonly BindableProperty FontStyleProperty = BindableProperty.Create(nameof(FontStyle), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
151         {
152             var textField = (TextField)bindable;
153             if (newValue != null)
154             {
155                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.FontStyle, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
156             }
157         }),
158         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
159         {
160             var textField = (TextField)bindable;
161             PropertyMap temp = new PropertyMap();
162             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.FontStyle).Get(temp);
163             return temp;
164         }));
165         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
166         [EditorBrowsable(EditorBrowsableState.Never)]
167         public static readonly BindableProperty PointSizeProperty = BindableProperty.Create(nameof(PointSize), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
168         {
169             var textField = (TextField)bindable;
170             if (newValue != null)
171             {
172                 if (GraphicsTypeManager.Instance.ScalingFactor != 0.0f)
173                 {
174                     newValue = (float)newValue * GraphicsTypeManager.Instance.ScalingFactor;
175                 }
176                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PointSize, new Tizen.NUI.PropertyValue((float)newValue));
177             }
178         }),
179         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
180         {
181             var textField = (TextField)bindable;
182             float temp = 0.0f;
183             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PointSize).Get(out temp);
184             if (GraphicsTypeManager.Instance.ScalingFactor != 0.0f)
185             {
186                 temp = (float)temp / GraphicsTypeManager.Instance.ScalingFactor;
187             }
188             return temp;
189         }));
190         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
191         [EditorBrowsable(EditorBrowsableState.Never)]
192         public static readonly BindableProperty MaxLengthProperty = BindableProperty.Create(nameof(MaxLength), typeof(int), typeof(TextField), default(int), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
193         {
194             var textField = (TextField)bindable;
195             if (newValue != null)
196             {
197                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.MaxLength, new Tizen.NUI.PropertyValue((int)newValue));
198             }
199         }),
200         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
201         {
202             var textField = (TextField)bindable;
203             int temp = 0;
204             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.MaxLength).Get(out temp);
205             return temp;
206         }));
207         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
208         [EditorBrowsable(EditorBrowsableState.Never)]
209         public static readonly BindableProperty ExceedPolicyProperty = BindableProperty.Create(nameof(ExceedPolicy), typeof(int), typeof(TextField), default(int), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
210         {
211             var textField = (TextField)bindable;
212             if (newValue != null)
213             {
214                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ExceedPolicy, new Tizen.NUI.PropertyValue((int)newValue));
215             }
216         }),
217         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
218         {
219             var textField = (TextField)bindable;
220             int temp = 0;
221             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ExceedPolicy).Get(out temp);
222             return temp;
223         }));
224         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
225         [EditorBrowsable(EditorBrowsableState.Never)]
226         public static readonly BindableProperty HorizontalAlignmentProperty = BindableProperty.Create(nameof(HorizontalAlignment), typeof(HorizontalAlignment), typeof(TextField), HorizontalAlignment.Begin, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
227         {
228             var textField = (TextField)bindable;
229             if (newValue != null)
230             {
231                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.HorizontalAlignment, new Tizen.NUI.PropertyValue((int)newValue));
232             }
233         }),
234         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
235         {
236             var textField = (TextField)bindable;
237             string temp;
238             if (Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.HorizontalAlignment).Get(out temp) == false)
239             {
240                 NUILog.Error("HorizontalAlignment get error!");
241             }
242
243             return temp.GetValueByDescription<HorizontalAlignment>();
244         }));
245         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
246         [EditorBrowsable(EditorBrowsableState.Never)]
247         public static readonly BindableProperty VerticalAlignmentProperty = BindableProperty.Create(nameof(TextField.VerticalAlignment), typeof(VerticalAlignment), typeof(TextField), VerticalAlignment.Bottom, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
248         {
249             var textField = (TextField)bindable;
250             if (newValue != null)
251             {
252                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.VerticalAlignment, new Tizen.NUI.PropertyValue((int)newValue));
253             }
254         }),
255         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
256         {
257             var textField = (TextField)bindable;
258             string temp;
259             if (Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.VerticalAlignment).Get(out temp) == false)
260             {
261                 NUILog.Error("VerticalAlignment get error!");
262             }
263
264             return temp.GetValueByDescription<VerticalAlignment>();
265         }));
266         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
267         [EditorBrowsable(EditorBrowsableState.Never)]
268         public static readonly BindableProperty TextColorProperty = BindableProperty.Create(nameof(TextField.TextColor), typeof(Color), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
269         {
270             var textField = (TextField)bindable;
271             if (newValue != null)
272             {
273                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.TextColor, new Tizen.NUI.PropertyValue((Color)newValue));
274             }
275         }),
276         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
277         {
278             var textField = (TextField)bindable;
279             Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
280             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.TextColor).Get(temp);
281             return temp;
282         }));
283         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
284         [EditorBrowsable(EditorBrowsableState.Never)]
285         public static readonly BindableProperty PlaceholderTextColorProperty = BindableProperty.Create(nameof(TextField.PlaceholderTextColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
286         {
287             var textField = (TextField)bindable;
288             if (newValue != null)
289             {
290                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderTextColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
291             }
292         }),
293         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
294         {
295             var textField = (TextField)bindable;
296             Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
297             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderTextColor).Get(temp);
298             return temp;
299         }));
300         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
301         [EditorBrowsable(EditorBrowsableState.Never)]
302         public static readonly BindableProperty EnableGrabHandleProperty = BindableProperty.Create(nameof(TextField.EnableGrabHandle), typeof(bool), typeof(TextField), true, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
303         {
304             var textField = (TextField)bindable;
305             if (newValue != null)
306             {
307                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableGrabHandle, new Tizen.NUI.PropertyValue((bool)newValue));
308             }
309         }),
310         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
311         {
312             var textField = (TextField)bindable;
313             bool temp = false;
314             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableGrabHandle).Get(out temp);
315             return temp;
316         }));
317         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
318         [EditorBrowsable(EditorBrowsableState.Never)]
319         public static readonly BindableProperty EnableGrabHandlePopupProperty = BindableProperty.Create(nameof(TextField.EnableGrabHandlePopup), typeof(bool), typeof(TextField), true, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
320         {
321             var textField = (TextField)bindable;
322             if (newValue != null)
323             {
324                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableGrabHandlePopup, new Tizen.NUI.PropertyValue((bool)newValue));
325             }
326         }),
327         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
328         {
329             var textField = (TextField)bindable;
330             bool temp = false;
331             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableGrabHandlePopup).Get(out temp);
332             return temp;
333         }));
334         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
335         [EditorBrowsable(EditorBrowsableState.Never)]
336         public static readonly BindableProperty PrimaryCursorColorProperty = BindableProperty.Create(nameof(TextField.PrimaryCursorColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
337         {
338             var textField = (TextField)bindable;
339             if (newValue != null)
340             {
341                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PrimaryCursorColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
342             }
343         }),
344         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
345         {
346             var textField = (TextField)bindable;
347             Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
348             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PrimaryCursorColor).Get(temp);
349             return temp;
350         }));
351         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
352         [EditorBrowsable(EditorBrowsableState.Never)]
353         public static readonly BindableProperty SecondaryCursorColorProperty = BindableProperty.Create(nameof(TextField.SecondaryCursorColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
354         {
355             var textField = (TextField)bindable;
356             if (newValue != null)
357             {
358                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SecondaryCursorColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
359             }
360         }),
361         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
362         {
363             var textField = (TextField)bindable;
364             Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
365             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SecondaryCursorColor).Get(temp);
366             return temp;
367         }));
368         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
369         [EditorBrowsable(EditorBrowsableState.Never)]
370         public static readonly BindableProperty EnableCursorBlinkProperty = BindableProperty.Create(nameof(TextField.EnableCursorBlink), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
371         {
372             var textField = (TextField)bindable;
373             if (newValue != null)
374             {
375                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableCursorBlink, new Tizen.NUI.PropertyValue((bool)newValue));
376             }
377         }),
378         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
379         {
380             var textField = (TextField)bindable;
381             bool temp = false;
382             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableCursorBlink).Get(out temp);
383             return temp;
384         }));
385         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
386         [EditorBrowsable(EditorBrowsableState.Never)]
387         public static readonly BindableProperty CursorBlinkIntervalProperty = BindableProperty.Create(nameof(TextField.CursorBlinkInterval), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
388         {
389             var textField = (TextField)bindable;
390             if (newValue != null)
391             {
392                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorBlinkInterval, new Tizen.NUI.PropertyValue((float)newValue));
393             }
394         }),
395         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
396         {
397             var textField = (TextField)bindable;
398             float temp = 0.0f;
399             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorBlinkInterval).Get(out temp);
400             return temp;
401         }));
402         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
403         [EditorBrowsable(EditorBrowsableState.Never)]
404         public static readonly BindableProperty CursorBlinkDurationProperty = BindableProperty.Create(nameof(TextField.CursorBlinkDuration), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
405         {
406             var textField = (TextField)bindable;
407             if (newValue != null)
408             {
409                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorBlinkDuration, new Tizen.NUI.PropertyValue((float)newValue));
410             }
411         }),
412         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
413         {
414             var textField = (TextField)bindable;
415             float temp = 0.0f;
416             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorBlinkDuration).Get(out temp);
417             return temp;
418         }));
419         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
420         [EditorBrowsable(EditorBrowsableState.Never)]
421         public static readonly BindableProperty CursorWidthProperty = BindableProperty.Create(nameof(TextField.CursorWidth), typeof(int), typeof(TextField), default(int), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
422         {
423             var textField = (TextField)bindable;
424             if (newValue != null)
425             {
426                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorWidth, new Tizen.NUI.PropertyValue((int)newValue));
427             }
428         }),
429         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
430         {
431             var textField = (TextField)bindable;
432             int temp = 0;
433             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorWidth).Get(out temp);
434             return temp;
435         }));
436         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
437         [EditorBrowsable(EditorBrowsableState.Never)]
438         public static readonly BindableProperty GrabHandleImageProperty = BindableProperty.Create(nameof(TextField.GrabHandleImage), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
439         {
440             var textField = (TextField)bindable;
441             if (newValue != null)
442             {
443                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandleImage, new Tizen.NUI.PropertyValue((string)newValue));
444             }
445         }),
446         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
447         {
448             var textField = (TextField)bindable;
449             string temp;
450             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandleImage).Get(out temp);
451             return temp;
452         }));
453         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
454         [EditorBrowsable(EditorBrowsableState.Never)]
455         public static readonly BindableProperty GrabHandlePressedImageProperty = BindableProperty.Create(nameof(TextField.GrabHandlePressedImage), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
456         {
457             var textField = (TextField)bindable;
458             if (newValue != null)
459             {
460                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandlePressedImage, new Tizen.NUI.PropertyValue((string)newValue));
461             }
462         }),
463         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
464         {
465             var textField = (TextField)bindable;
466             string temp;
467             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandlePressedImage).Get(out temp);
468             return temp;
469         }));
470         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
471         [EditorBrowsable(EditorBrowsableState.Never)]
472         public static readonly BindableProperty ScrollThresholdProperty = BindableProperty.Create(nameof(TextField.ScrollThreshold), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
473         {
474             var textField = (TextField)bindable;
475             if (newValue != null)
476             {
477                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ScrollThreshold, new Tizen.NUI.PropertyValue((float)newValue));
478             }
479         }),
480         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
481         {
482             var textField = (TextField)bindable;
483             float temp = 0.0f;
484             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ScrollThreshold).Get(out temp);
485             return temp;
486         }));
487         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
488         [EditorBrowsable(EditorBrowsableState.Never)]
489         public static readonly BindableProperty ScrollSpeedProperty = BindableProperty.Create(nameof(TextField.ScrollSpeed), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
490         {
491             var textField = (TextField)bindable;
492             if (newValue != null)
493             {
494                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ScrollSpeed, new Tizen.NUI.PropertyValue((float)newValue));
495             }
496         }),
497         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
498         {
499             var textField = (TextField)bindable;
500             float temp = 0.0f;
501             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ScrollSpeed).Get(out temp);
502             return temp;
503         }));
504         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
505         [EditorBrowsable(EditorBrowsableState.Never)]
506         public static readonly BindableProperty SelectionHandleImageLeftProperty = BindableProperty.Create(nameof(TextField.SelectionHandleImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
507         {
508             var textField = (TextField)bindable;
509             if (newValue != null)
510             {
511                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleImageLeft, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
512             }
513         }),
514         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
515         {
516             var textField = (TextField)bindable;
517             PropertyMap temp = new PropertyMap();
518             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleImageLeft).Get(temp);
519             return temp;
520         }));
521         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
522         [EditorBrowsable(EditorBrowsableState.Never)]
523         public static readonly BindableProperty SelectionHandleImageRightProperty = BindableProperty.Create(nameof(TextField.SelectionHandleImageRight), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
524         {
525             var textField = (TextField)bindable;
526             if (newValue != null)
527             {
528                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleImageRight, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
529             }
530         }),
531         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
532         {
533             var textField = (TextField)bindable;
534             PropertyMap temp = new PropertyMap();
535             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleImageRight).Get(temp);
536             return temp;
537         }));
538         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
539         [EditorBrowsable(EditorBrowsableState.Never)]
540         public static readonly BindableProperty SelectionHandlePressedImageLeftProperty = BindableProperty.Create(nameof(TextField.SelectionHandlePressedImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
541         {
542             var textField = (TextField)bindable;
543             if (newValue != null)
544             {
545                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandlePressedImageLeft, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
546             }
547         }),
548         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
549         {
550             var textField = (TextField)bindable;
551             PropertyMap temp = new PropertyMap();
552             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandlePressedImageLeft).Get(temp);
553             return temp;
554         }));
555         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
556         [EditorBrowsable(EditorBrowsableState.Never)]
557         public static readonly BindableProperty SelectionHandlePressedImageRightProperty = BindableProperty.Create(nameof(TextField.SelectionHandlePressedImageRight), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
558         {
559             var textField = (TextField)bindable;
560             if (newValue != null)
561             {
562                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandlePressedImageRight, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
563             }
564         }),
565         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
566         {
567             var textField = (TextField)bindable;
568             PropertyMap temp = new PropertyMap();
569             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandlePressedImageRight).Get(temp);
570             return temp;
571         }));
572         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
573         [EditorBrowsable(EditorBrowsableState.Never)]
574         public static readonly BindableProperty SelectionHandleMarkerImageLeftProperty = BindableProperty.Create(nameof(TextField.SelectionHandleMarkerImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
575         {
576             var textField = (TextField)bindable;
577             if (newValue != null)
578             {
579                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleMarkerImageLeft, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
580             }
581         }),
582         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
583         {
584             var textField = (TextField)bindable;
585             PropertyMap temp = new PropertyMap();
586             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleMarkerImageLeft).Get(temp);
587             return temp;
588         }));
589         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
590         [EditorBrowsable(EditorBrowsableState.Never)]
591         public static readonly BindableProperty SelectionHandleMarkerImageRightProperty = BindableProperty.Create(nameof(TextField.SelectionHandleMarkerImageRight), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
592         {
593             var textField = (TextField)bindable;
594             if (newValue != null)
595             {
596                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleMarkerImageRight, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
597             }
598         }),
599         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
600         {
601             var textField = (TextField)bindable;
602             PropertyMap temp = new PropertyMap();
603             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleMarkerImageRight).Get(temp);
604             return temp;
605         }));
606         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
607         [EditorBrowsable(EditorBrowsableState.Never)]
608         public static readonly BindableProperty SelectionHighlightColorProperty = BindableProperty.Create(nameof(TextField.SelectionHighlightColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
609         {
610             var textField = (TextField)bindable;
611             if (newValue != null)
612             {
613                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHighlightColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
614             }
615         }),
616         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
617         {
618             var textField = (TextField)bindable;
619             Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
620             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHighlightColor).Get(temp);
621             return temp;
622         }));
623         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
624         [EditorBrowsable(EditorBrowsableState.Never)]
625         public static readonly BindableProperty DecorationBoundingBoxProperty = BindableProperty.Create(nameof(TextField.DecorationBoundingBox), typeof(Rectangle), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
626         {
627             var textField = (TextField)bindable;
628             if (newValue != null)
629             {
630                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.DecorationBoundingBox, new Tizen.NUI.PropertyValue((Rectangle)newValue));
631             }
632         }),
633         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
634         {
635             var textField = (TextField)bindable;
636             Rectangle temp = new Rectangle(0, 0, 0, 0);
637             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.DecorationBoundingBox).Get(temp);
638             return temp;
639         }));
640         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
641         [EditorBrowsable(EditorBrowsableState.Never)]
642         public static readonly BindableProperty InputMethodSettingsProperty = BindableProperty.Create(nameof(TextField.InputMethodSettings), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
643         {
644             var textField = (TextField)bindable;
645             if (newValue != null)
646             {
647                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputMethodSettings, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
648             }
649         }),
650         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
651         {
652             var textField = (TextField)bindable;
653             PropertyMap temp = new PropertyMap();
654             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputMethodSettings).Get(temp);
655             return temp;
656         }));
657         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
658         [EditorBrowsable(EditorBrowsableState.Never)]
659         public static readonly BindableProperty InputColorProperty = BindableProperty.Create(nameof(TextField.InputColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
660         {
661             var textField = (TextField)bindable;
662             if (newValue != null)
663             {
664                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
665             }
666         }),
667         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
668         {
669             var textField = (TextField)bindable;
670             Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
671             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputColor).Get(temp);
672             return temp;
673         }));
674         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
675         [EditorBrowsable(EditorBrowsableState.Never)]
676         public static readonly BindableProperty EnableMarkupProperty = BindableProperty.Create(nameof(TextField.EnableMarkup), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
677         {
678             var textField = (TextField)bindable;
679             if (newValue != null)
680             {
681                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableMarkup, new Tizen.NUI.PropertyValue((bool)newValue));
682             }
683         }),
684         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
685         {
686             var textField = (TextField)bindable;
687             bool temp = false;
688             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableMarkup).Get(out temp);
689             return temp;
690         }));
691         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
692         [EditorBrowsable(EditorBrowsableState.Never)]
693         public static readonly BindableProperty InputFontFamilyProperty = BindableProperty.Create(nameof(TextField.InputFontFamily), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
694         {
695             var textField = (TextField)bindable;
696             if (newValue != null)
697             {
698                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputFontFamily, new Tizen.NUI.PropertyValue((string)newValue));
699             }
700         }),
701         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
702         {
703             var textField = (TextField)bindable;
704             string temp;
705             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputFontFamily).Get(out temp);
706             return temp;
707         }));
708         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
709         [EditorBrowsable(EditorBrowsableState.Never)]
710         public static readonly BindableProperty InputFontStyleProperty = BindableProperty.Create(nameof(TextField.InputFontStyle), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
711         {
712             var textField = (TextField)bindable;
713             if (newValue != null)
714             {
715                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputFontStyle, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
716             }
717         }),
718         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
719         {
720             var textField = (TextField)bindable;
721             PropertyMap temp = new PropertyMap();
722             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputFontStyle).Get(temp);
723             return temp;
724         }));
725         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
726         [EditorBrowsable(EditorBrowsableState.Never)]
727         public static readonly BindableProperty InputPointSizeProperty = BindableProperty.Create(nameof(TextField.InputPointSize), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
728         {
729             var textField = (TextField)bindable;
730             if (newValue != null)
731             {
732                 if (GraphicsTypeManager.Instance.ScalingFactor != 0.0f)
733                 {
734                     newValue = (float)newValue * GraphicsTypeManager.Instance.ScalingFactor;
735                 }
736                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputPointSize, new Tizen.NUI.PropertyValue((float)newValue));
737             }
738         }),
739         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
740         {
741             var textField = (TextField)bindable;
742             float temp = 0.0f;
743             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputPointSize).Get(out temp);
744             if (GraphicsTypeManager.Instance.ScalingFactor != 0.0f)
745             {
746                 temp = (float)temp / GraphicsTypeManager.Instance.ScalingFactor;
747             }
748             return temp;
749         }));
750         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
751         [EditorBrowsable(EditorBrowsableState.Never)]
752         public static readonly BindableProperty UnderlineProperty = BindableProperty.Create(nameof(TextField.Underline), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
753         {
754             var textField = (TextField)bindable;
755             if (newValue != null)
756             {
757                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.UNDERLINE, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
758             }
759         }),
760         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
761         {
762             var textField = (TextField)bindable;
763             PropertyMap temp = new PropertyMap();
764             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.UNDERLINE).Get(temp);
765             return temp;
766         }));
767         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
768         [EditorBrowsable(EditorBrowsableState.Never)]
769         public static readonly BindableProperty InputUnderlineProperty = BindableProperty.Create(nameof(TextField.InputUnderline), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
770         {
771             var textField = (TextField)bindable;
772             if (newValue != null)
773             {
774                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputUnderline, new Tizen.NUI.PropertyValue((string)newValue));
775             }
776         }),
777         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
778         {
779             var textField = (TextField)bindable;
780             string temp;
781             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputUnderline).Get(out temp);
782             return temp;
783         }));
784         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
785         [EditorBrowsable(EditorBrowsableState.Never)]
786         public static readonly BindableProperty ShadowProperty = BindableProperty.Create(nameof(TextField.Shadow), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
787         {
788             var textField = (TextField)bindable;
789             if (newValue != null)
790             {
791                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SHADOW, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
792             }
793         }),
794         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
795         {
796             var textField = (TextField)bindable;
797             PropertyMap temp = new PropertyMap();
798             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SHADOW).Get(temp);
799             return temp;
800         }));
801         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
802         [EditorBrowsable(EditorBrowsableState.Never)]
803         public static readonly BindableProperty InputShadowProperty = BindableProperty.Create(nameof(TextField.InputShadow), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
804         {
805             var textField = (TextField)bindable;
806             if (newValue != null)
807             {
808                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputShadow, new Tizen.NUI.PropertyValue((string)newValue));
809             }
810         }),
811         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
812         {
813             var textField = (TextField)bindable;
814             string temp;
815             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputShadow).Get(out temp);
816             return temp;
817         }));
818         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
819         [EditorBrowsable(EditorBrowsableState.Never)]
820         public static readonly BindableProperty EmbossProperty = BindableProperty.Create(nameof(TextField.Emboss), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
821         {
822             var textField = (TextField)bindable;
823             if (newValue != null)
824             {
825                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EMBOSS, new Tizen.NUI.PropertyValue((string)newValue));
826             }
827         }),
828         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
829         {
830             var textField = (TextField)bindable;
831             string temp;
832             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EMBOSS).Get(out temp);
833             return temp;
834         }));
835         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
836         [EditorBrowsable(EditorBrowsableState.Never)]
837         public static readonly BindableProperty InputEmbossProperty = BindableProperty.Create(nameof(TextField.InputEmboss), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
838         {
839             var textField = (TextField)bindable;
840             if (newValue != null)
841             {
842                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputEmboss, new Tizen.NUI.PropertyValue((string)newValue));
843             }
844         }),
845         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
846         {
847             var textField = (TextField)bindable;
848             string temp;
849             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputEmboss).Get(out temp);
850             return temp;
851         }));
852         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
853         [EditorBrowsable(EditorBrowsableState.Never)]
854         public static readonly BindableProperty OutlineProperty = BindableProperty.Create(nameof(TextField.Outline), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
855         {
856             var textField = (TextField)bindable;
857             if (newValue != null)
858             {
859                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.OUTLINE, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
860             }
861         }),
862         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
863         {
864             var textField = (TextField)bindable;
865             PropertyMap temp = new PropertyMap();
866             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.OUTLINE).Get(temp);
867             return temp;
868         }));
869         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
870         [EditorBrowsable(EditorBrowsableState.Never)]
871         public static readonly BindableProperty InputOutlineProperty = BindableProperty.Create(nameof(TextField.InputOutline), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
872         {
873             var textField = (TextField)bindable;
874             if (newValue != null)
875             {
876                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputOutline, new Tizen.NUI.PropertyValue((string)newValue));
877             }
878         }),
879         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
880         {
881             var textField = (TextField)bindable;
882             string temp;
883             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputOutline).Get(out temp);
884             return temp;
885         }));
886         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
887         [EditorBrowsable(EditorBrowsableState.Never)]
888         public static readonly BindableProperty HiddenInputSettingsProperty = BindableProperty.Create(nameof(TextField.HiddenInputSettings), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
889         {
890             var textField = (TextField)bindable;
891             if (newValue != null)
892             {
893                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.HiddenInputSettings, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
894             }
895         }),
896         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
897         {
898             var textField = (TextField)bindable;
899             Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
900             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.HiddenInputSettings).Get(temp);
901             return temp;
902         }));
903         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
904         [EditorBrowsable(EditorBrowsableState.Never)]
905         public static readonly BindableProperty PixelSizeProperty = BindableProperty.Create(nameof(TextField.PixelSize), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
906         {
907             var textField = (TextField)bindable;
908             if (newValue != null)
909             {
910                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PixelSize, new Tizen.NUI.PropertyValue((float)newValue));
911             }
912         }),
913         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
914         {
915             var textField = (TextField)bindable;
916             float temp = 0.0f;
917             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PixelSize).Get(out temp);
918             return temp;
919         }));
920         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
921         [EditorBrowsable(EditorBrowsableState.Never)]
922         public static readonly BindableProperty EnableSelectionProperty = BindableProperty.Create(nameof(TextField.EnableSelection), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
923         {
924             var textField = (TextField)bindable;
925             if (newValue != null)
926             {
927                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableSelection, new Tizen.NUI.PropertyValue((bool)newValue));
928             }
929         }),
930         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
931         {
932             var textField = (TextField)bindable;
933             bool temp = false;
934             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableSelection).Get(out temp);
935             return temp;
936         }));
937         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
938         [EditorBrowsable(EditorBrowsableState.Never)]
939         public static readonly BindableProperty PlaceholderProperty = BindableProperty.Create(nameof(TextField.Placeholder), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
940         {
941             var textField = (TextField)bindable;
942             if (newValue != null)
943             {
944                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PLACEHOLDER, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
945             }
946         }),
947         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
948         {
949             var textField = (TextField)bindable;
950             Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
951             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PLACEHOLDER).Get(temp);
952             return temp;
953         }));
954         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
955         [EditorBrowsable(EditorBrowsableState.Never)]
956         public static readonly BindableProperty EllipsisProperty = BindableProperty.Create(nameof(TextField.Ellipsis), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
957         {
958             var textField = (TextField)bindable;
959             if (newValue != null)
960             {
961                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ELLIPSIS, new Tizen.NUI.PropertyValue((bool)newValue));
962             }
963         }),
964         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
965         {
966             var textField = (TextField)bindable;
967             bool temp = false;
968             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ELLIPSIS).Get(out temp);
969             return temp;
970         }));
971         /// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API.
972         [EditorBrowsable(EditorBrowsableState.Never)]
973         public static readonly BindableProperty EllipsisPositionProperty = BindableProperty.Create(nameof(EllipsisPosition), typeof(EllipsisPosition), typeof(TextField), EllipsisPosition.End, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
974         {
975             var textField = (TextField)bindable;
976             if (newValue != null)
977             {
978                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EllipsisPosition, new Tizen.NUI.PropertyValue((int)newValue));
979             }
980         }),
981         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
982         {
983             var textField = (TextField)bindable;
984             int temp = 0;
985             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EllipsisPosition).Get(out temp);
986             return (EllipsisPosition)temp;
987         }));
988         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
989         [EditorBrowsable(EditorBrowsableState.Never)]
990         public static readonly BindableProperty EnableShiftSelectionProperty = BindableProperty.Create(nameof(TextField.EnableShiftSelection), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
991         {
992             var textField = (TextField)bindable;
993             if (newValue != null)
994             {
995                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableShiftSelection, new Tizen.NUI.PropertyValue((bool)newValue));
996             }
997         }),
998         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
999         {
1000             var textField = (TextField)bindable;
1001             bool temp = false;
1002             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableShiftSelection).Get(out temp);
1003             return temp;
1004         }));
1005         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1006         [EditorBrowsable(EditorBrowsableState.Never)]
1007         public static readonly BindableProperty MatchSystemLanguageDirectionProperty = BindableProperty.Create(nameof(TextField.MatchSystemLanguageDirection), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1008         {
1009             var textField = (TextField)bindable;
1010             if (newValue != null)
1011             {
1012                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.MatchSystemLanguageDirection, new Tizen.NUI.PropertyValue((bool)newValue));
1013             }
1014         }),
1015         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1016         {
1017             var textField = (TextField)bindable;
1018             bool temp = false;
1019             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.MatchSystemLanguageDirection).Get(out temp);
1020             return (bool)temp;
1021         }));
1022
1023         [EditorBrowsable(EditorBrowsableState.Never)]
1024         public static readonly BindableProperty FontSizeScaleProperty = BindableProperty.Create(nameof(FontSizeScale), typeof(float), typeof(TextLabel), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1025         {
1026             var textField = (TextField)bindable;
1027             if (newValue != null)
1028             {
1029                 using (var property = new Tizen.NUI.PropertyValue((float)newValue))
1030                 {
1031                     Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.FontSizeScale, property);
1032                 }
1033             }
1034         }),
1035         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1036         {
1037             var textField = (TextField)bindable;
1038             float temp;
1039             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.FontSizeScale).Get(out temp);
1040             return temp;
1041         }));
1042         /// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1043         [EditorBrowsable(EditorBrowsableState.Never)]
1044         public static readonly BindableProperty GrabHandleColorProperty = BindableProperty.Create(nameof(TextField.GrabHandleColor), typeof(Color), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1045         {
1046             var textField = (TextField)bindable;
1047             if (newValue != null)
1048             {
1049                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandleColor, new Tizen.NUI.PropertyValue((Color)newValue));
1050             }
1051         }),
1052         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1053         {
1054             var textField = (TextField)bindable;
1055             Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
1056             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandleColor).Get(temp);
1057             return temp;
1058         }));
1059     }
1060 }