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