[NUI] Add null checking in internalSet/GetPropertyXXX()
[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 #if NUI_PROPERTY_CHANGE_2
89                 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.TEXT, (string)newValue);
90 #else
91                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.TEXT, new Tizen.NUI.PropertyValue((string)newValue));
92 #endif
93                 textField.isSettingTextInCSharp = false;
94             }
95         }),
96         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
97         {
98             var textField = (TextField)bindable;
99 #if NUI_PROPERTY_CHANGE_2
100             return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.TEXT);
101 #else
102             string temp;
103             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.TEXT).Get(out temp);
104             return temp;
105 #endif
106         }));
107         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
108         [EditorBrowsable(EditorBrowsableState.Never)]
109         public static readonly BindableProperty PlaceholderTextProperty = BindableProperty.Create(nameof(PlaceholderText), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
110         {
111             var textField = (TextField)bindable;
112             if (newValue != null)
113             {
114 #if NUI_PROPERTY_CHANGE_2
115                 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.PlaceholderText, (string)newValue);
116 #else
117                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderText, new Tizen.NUI.PropertyValue((string)newValue));
118 #endif            
119             }
120         }),
121         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
122         {
123             var textField = (TextField)bindable;
124 #if NUI_PROPERTY_CHANGE_2
125             return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.PlaceholderText);
126 #else
127             string temp;
128             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderText).Get(out temp);
129             return temp;
130 #endif
131         }));
132         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
133         [EditorBrowsable(EditorBrowsableState.Never)]
134         public static readonly BindableProperty PlaceholderTextFocusedProperty = BindableProperty.Create(nameof(PlaceholderTextFocused), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
135         {
136             var textField = (TextField)bindable;
137             if (newValue != null)
138             {
139 #if NUI_PROPERTY_CHANGE_2
140                 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.PlaceholderTextFocused, (string)newValue);
141 #else
142                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderTextFocused, new Tizen.NUI.PropertyValue((string)newValue));
143 #endif
144             }
145         }),
146         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
147         {
148             var textField = (TextField)bindable;
149 #if NUI_PROPERTY_CHANGE_2
150             return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.PlaceholderTextFocused);
151 #else
152             string temp;
153             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderTextFocused).Get(out temp);
154             return temp;
155 #endif
156         }));
157         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
158         [EditorBrowsable(EditorBrowsableState.Never)]
159         public static readonly BindableProperty FontFamilyProperty = BindableProperty.Create(nameof(FontFamily), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
160         {
161             var textField = (TextField)bindable;
162             if (newValue != null)
163             {
164 #if NUI_PROPERTY_CHANGE_2
165                 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.FontFamily, (string)newValue);
166 #else
167                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.FontFamily, new Tizen.NUI.PropertyValue((string)newValue));
168 #endif
169             }
170         }),
171         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
172         {
173             var textField = (TextField)bindable;
174 #if NUI_PROPERTY_CHANGE_2
175             return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.FontFamily);
176 #else
177             string temp;
178             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.FontFamily).Get(out temp);
179             return temp;
180 #endif
181         }));
182         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
183         [EditorBrowsable(EditorBrowsableState.Never)]
184         public static readonly BindableProperty FontStyleProperty = BindableProperty.Create(nameof(FontStyle), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
185         {
186             var textField = (TextField)bindable;
187             if (newValue != null)
188             {
189                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.FontStyle, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
190             }
191         }),
192         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
193         {
194             var textField = (TextField)bindable;
195             PropertyMap temp = new PropertyMap();
196             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.FontStyle).Get(temp);
197             return temp;
198         }));
199
200         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
201         [EditorBrowsable(EditorBrowsableState.Never)]
202         public static readonly BindableProperty PointSizeProperty = BindableProperty.Create(nameof(PointSize), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
203         {
204             var textField = (TextField)bindable;
205             if (newValue != null)
206             {
207 #if NUI_PROPERTY_CHANGE_2
208                 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.PointSize, (float)newValue);
209 #else
210                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PointSize, new Tizen.NUI.PropertyValue((float)newValue));
211 #endif
212             }
213         }),
214         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
215         {
216             var textField = (TextField)bindable;
217 #if NUI_PROPERTY_CHANGE_2
218             return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.PointSize);
219 #else
220             float temp = 0.0f;
221             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PointSize).Get(out temp);
222             return temp;
223 #endif
224         }));
225         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
226         [EditorBrowsable(EditorBrowsableState.Never)]
227         public static readonly BindableProperty MaxLengthProperty = BindableProperty.Create(nameof(MaxLength), typeof(int), typeof(TextField), default(int), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
228         {
229             var textField = (TextField)bindable;
230             if (newValue != null)
231             {
232 #if NUI_PROPERTY_CHANGE_2
233                 Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.MaxLength, (int)newValue);
234 #else
235                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.MaxLength, new Tizen.NUI.PropertyValue((int)newValue));
236 #endif            
237             }
238         }),
239         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
240         {
241             var textField = (TextField)bindable;
242 #if NUI_PROPERTY_CHANGE_2
243             return Object.InternalGetPropertyInt(textField.SwigCPtr, TextField.Property.MaxLength);
244 #else
245             int temp = 0;
246             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.MaxLength).Get(out temp);
247             return temp;
248 #endif
249         }));
250         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
251         [EditorBrowsable(EditorBrowsableState.Never)]
252         public static readonly BindableProperty ExceedPolicyProperty = BindableProperty.Create(nameof(ExceedPolicy), typeof(int), typeof(TextField), default(int), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
253         {
254             var textField = (TextField)bindable;
255             if (newValue != null)
256             {
257 #if NUI_PROPERTY_CHANGE_2
258                 Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.ExceedPolicy, (int)newValue);
259 #else
260                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ExceedPolicy, new Tizen.NUI.PropertyValue((int)newValue));
261 #endif
262             }
263         }),
264         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
265         {
266             var textField = (TextField)bindable;
267 #if NUI_PROPERTY_CHANGE_2
268             return Object.InternalGetPropertyInt(textField.SwigCPtr, TextField.Property.ExceedPolicy);
269 #else
270             int temp = 0;
271             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ExceedPolicy).Get(out temp);
272             return temp;
273 #endif
274         }));
275         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
276         [EditorBrowsable(EditorBrowsableState.Never)]
277         public static readonly BindableProperty HorizontalAlignmentProperty = BindableProperty.Create(nameof(HorizontalAlignment), typeof(HorizontalAlignment), typeof(TextField), HorizontalAlignment.Begin, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
278         {
279             var textField = (TextField)bindable;
280             if (newValue != null)
281             {
282 #if NUI_PROPERTY_CHANGE_2
283                 Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.HorizontalAlignment, (int)newValue);
284 #else
285                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.HorizontalAlignment, new Tizen.NUI.PropertyValue((int)newValue));
286 #endif            
287             }
288         }),
289         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
290         {
291             var textField = (TextField)bindable;
292             string temp;
293 #if NUI_PROPERTY_CHANGE_2
294             temp = Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.HorizontalAlignment);
295 #else
296             if (Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.HorizontalAlignment).Get(out temp) == false)
297             {
298                 NUILog.Error("HorizontalAlignment get error!");
299             }
300 #endif
301             return temp.GetValueByDescription<HorizontalAlignment>();
302         }));
303         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
304         [EditorBrowsable(EditorBrowsableState.Never)]
305         public static readonly BindableProperty VerticalAlignmentProperty = BindableProperty.Create(nameof(TextField.VerticalAlignment), typeof(VerticalAlignment), typeof(TextField), VerticalAlignment.Bottom, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
306         {
307             var textField = (TextField)bindable;
308             if (newValue != null)
309             {
310 #if NUI_PROPERTY_CHANGE_2
311                 Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.VerticalAlignment, (int)newValue);
312 #else
313                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.VerticalAlignment, new Tizen.NUI.PropertyValue((int)newValue));
314 #endif
315             }
316         }),
317         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
318         {
319             var textField = (TextField)bindable;
320             string temp;
321 #if NUI_PROPERTY_CHANGE_2
322             temp = Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.VerticalAlignment);
323 #else
324             if (Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.VerticalAlignment).Get(out temp) == false)
325             {
326                 NUILog.Error("VerticalAlignment get error!");
327             }
328 #endif
329             return temp.GetValueByDescription<VerticalAlignment>();
330         }));
331         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
332         [EditorBrowsable(EditorBrowsableState.Never)]
333         public static readonly BindableProperty TextColorProperty = BindableProperty.Create(nameof(TextField.TextColor), typeof(Color), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
334         {
335             var textField = (TextField)bindable;
336             if (newValue != null)
337             {
338 #if NUI_PROPERTY_CHANGE_2
339                 Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.TextColor, ((Color)newValue).SwigCPtr);
340 #else
341                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.TextColor, new Tizen.NUI.PropertyValue((Color)newValue));
342 #endif
343             }
344         }),
345         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
346         {
347             var textField = (TextField)bindable;
348 #if NUI_PROPERTY_CHANGE_2
349             if (textField.internalTextColor == null)
350             {
351                 textField.internalTextColor = new Color(0, 0, 0, 0);
352             }
353             Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.TextColor, textField.internalTextColor.SwigCPtr);
354             return textField.internalTextColor;
355
356 #else
357             Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
358             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.TextColor).Get(temp);
359             return temp;
360 #endif
361         }));
362         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
363         [EditorBrowsable(EditorBrowsableState.Never)]
364         public static readonly BindableProperty PlaceholderTextColorProperty = BindableProperty.Create(nameof(TextField.PlaceholderTextColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
365         {
366             var textField = (TextField)bindable;
367             if (newValue != null)
368             {
369 #if NUI_PROPERTY_CHANGE_2
370                 Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.PlaceholderTextColor, ((Vector4)newValue).SwigCPtr);
371 #else
372                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderTextColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
373 #endif
374             }
375         }),
376         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
377         {
378             var textField = (TextField)bindable;
379 #if NUI_PROPERTY_CHANGE_2
380             if (textField.internalPlaceholderTextColor == null)
381             {
382                 textField.internalPlaceholderTextColor = new Vector4(0, 0, 0, 0);
383             }
384             Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.PlaceholderTextColor, textField.internalPlaceholderTextColor.SwigCPtr);
385             return textField.internalPlaceholderTextColor;
386 #else
387             Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
388             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderTextColor).Get(temp);
389             return temp;
390 #endif
391         }));
392         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
393         [EditorBrowsable(EditorBrowsableState.Never)]
394         public static readonly BindableProperty EnableGrabHandleProperty = BindableProperty.Create(nameof(TextField.EnableGrabHandle), typeof(bool), typeof(TextField), true, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
395         {
396             var textField = (TextField)bindable;
397             if (newValue != null)
398             {
399 #if NUI_PROPERTY_CHANGE_2
400                 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableGrabHandle, (bool)newValue);
401 #else
402                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableGrabHandle, new Tizen.NUI.PropertyValue((bool)newValue));
403 #endif
404             }
405         }),
406         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
407         {
408             var textField = (TextField)bindable;
409 #if NUI_PROPERTY_CHANGE_2
410             return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableGrabHandle);
411 #else
412             bool temp = false;
413             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableGrabHandle).Get(out temp);
414             return temp;
415 #endif
416         }));
417         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
418         [EditorBrowsable(EditorBrowsableState.Never)]
419         public static readonly BindableProperty EnableGrabHandlePopupProperty = BindableProperty.Create(nameof(TextField.EnableGrabHandlePopup), typeof(bool), typeof(TextField), true, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
420         {
421             var textField = (TextField)bindable;
422             if (newValue != null)
423             {
424 #if NUI_PROPERTY_CHANGE_2
425                 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableGrabHandlePopup, (bool)newValue);
426 #else
427                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableGrabHandlePopup, new Tizen.NUI.PropertyValue((bool)newValue));
428 #endif
429             }
430         }),
431         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
432         {
433             var textField = (TextField)bindable;
434 #if NUI_PROPERTY_CHANGE_2
435             return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableGrabHandlePopup);
436 #else
437             bool temp = false;
438             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableGrabHandlePopup).Get(out temp);
439             return temp;
440 #endif
441         }));
442         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
443         [EditorBrowsable(EditorBrowsableState.Never)]
444         public static readonly BindableProperty PrimaryCursorColorProperty = BindableProperty.Create(nameof(TextField.PrimaryCursorColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
445         {
446             var textField = (TextField)bindable;
447             if (newValue != null)
448             {
449 #if NUI_PROPERTY_CHANGE_2
450                 Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.PrimaryCursorColor, ((Vector4)newValue).SwigCPtr);
451 #else
452                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PrimaryCursorColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
453 #endif
454             }
455         }),
456         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
457         {
458             var textField = (TextField)bindable;
459 #if NUI_PROPERTY_CHANGE_2
460             if (textField.internalPrimaryCursorColor == null)
461             {
462                 textField.internalPrimaryCursorColor = new Vector4(0, 0, 0, 0);
463             }
464             Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.PrimaryCursorColor, textField.internalPrimaryCursorColor.SwigCPtr);
465             return textField.internalPrimaryCursorColor;
466 #else
467             Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
468             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PrimaryCursorColor).Get(temp);
469             return temp;
470 #endif
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 SecondaryCursorColorProperty = BindableProperty.Create(nameof(TextField.SecondaryCursorColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
475         {
476             var textField = (TextField)bindable;
477             if (newValue != null)
478             {
479 #if NUI_PROPERTY_CHANGE_2
480                 Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.SecondaryCursorColor, ((Vector4)newValue).SwigCPtr);
481 #else
482                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SecondaryCursorColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
483 #endif
484             }
485         }),
486         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
487         {
488             var textField = (TextField)bindable;
489 #if NUI_PROPERTY_CHANGE_2
490             if (textField.internalSecondaryCursorColor == null)
491             {
492                 textField.internalSecondaryCursorColor = new Vector4(0, 0, 0, 0);
493             }
494             Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.SecondaryCursorColor, textField.internalSecondaryCursorColor.SwigCPtr);
495             return textField.internalSecondaryCursorColor;
496 #else
497             Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
498             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SecondaryCursorColor).Get(temp);
499             return temp;
500 #endif
501         }));
502         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
503         [EditorBrowsable(EditorBrowsableState.Never)]
504         public static readonly BindableProperty EnableCursorBlinkProperty = BindableProperty.Create(nameof(TextField.EnableCursorBlink), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
505         {
506             var textField = (TextField)bindable;
507             if (newValue != null)
508             {
509 #if NUI_PROPERTY_CHANGE_2
510                 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableCursorBlink, (bool)newValue);
511 #else
512                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableCursorBlink, new Tizen.NUI.PropertyValue((bool)newValue));
513 #endif
514             }
515         }),
516         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
517         {
518             var textField = (TextField)bindable;
519 #if NUI_PROPERTY_CHANGE_2
520             return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableCursorBlink);
521 #else
522             bool temp = false;
523             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableCursorBlink).Get(out temp);
524             return temp;
525 #endif
526         }));
527         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
528         [EditorBrowsable(EditorBrowsableState.Never)]
529         public static readonly BindableProperty CursorBlinkIntervalProperty = BindableProperty.Create(nameof(TextField.CursorBlinkInterval), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
530         {
531             var textField = (TextField)bindable;
532             if (newValue != null)
533             {
534 #if NUI_PROPERTY_CHANGE_2
535                 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.CursorBlinkInterval, (float)newValue);
536 #else
537                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorBlinkInterval, new Tizen.NUI.PropertyValue((float)newValue));
538 #endif
539             }
540         }),
541         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
542         {
543             var textField = (TextField)bindable;
544 #if NUI_PROPERTY_CHANGE_2
545             return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.CursorBlinkInterval);
546 #else
547             float temp = 0.0f;
548             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorBlinkInterval).Get(out temp);
549             return temp;
550 #endif
551         }));
552         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
553         [EditorBrowsable(EditorBrowsableState.Never)]
554         public static readonly BindableProperty CursorBlinkDurationProperty = BindableProperty.Create(nameof(TextField.CursorBlinkDuration), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
555         {
556             var textField = (TextField)bindable;
557             if (newValue != null)
558             {
559 #if NUI_PROPERTY_CHANGE_2
560                 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.CursorBlinkDuration, (float)newValue);
561 #else
562                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorBlinkDuration, new Tizen.NUI.PropertyValue((float)newValue));
563 #endif
564             }
565         }),
566         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
567         {
568             var textField = (TextField)bindable;
569 #if NUI_PROPERTY_CHANGE_2
570             return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.CursorBlinkDuration);
571 #else
572             float temp = 0.0f;
573             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorBlinkDuration).Get(out temp);
574             return temp;
575 #endif
576         }));
577         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
578         [EditorBrowsable(EditorBrowsableState.Never)]
579         public static readonly BindableProperty CursorWidthProperty = BindableProperty.Create(nameof(TextField.CursorWidth), typeof(int), typeof(TextField), default(int), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
580         {
581             var textField = (TextField)bindable;
582             if (newValue != null)
583             {
584 #if NUI_PROPERTY_CHANGE_2
585                 Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.CursorWidth, (int)newValue);
586 #else
587                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorWidth, new Tizen.NUI.PropertyValue((int)newValue));
588 #endif
589             }
590         }),
591         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
592         {
593             var textField = (TextField)bindable;
594 #if NUI_PROPERTY_CHANGE_2
595             return Object.InternalGetPropertyInt(textField.SwigCPtr, TextField.Property.CursorWidth);
596 #else
597             int temp = 0;
598             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorWidth).Get(out temp);
599             return temp;
600 #endif
601         }));
602         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
603         [EditorBrowsable(EditorBrowsableState.Never)]
604         public static readonly BindableProperty GrabHandleImageProperty = BindableProperty.Create(nameof(TextField.GrabHandleImage), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
605         {
606             var textField = (TextField)bindable;
607             if (newValue != null)
608             {
609 #if NUI_PROPERTY_CHANGE_2
610                 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.GrabHandleImage, (string)newValue);
611 #else
612                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandleImage, new Tizen.NUI.PropertyValue((string)newValue));
613 #endif
614             }
615         }),
616         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
617         {
618             var textField = (TextField)bindable;
619 #if NUI_PROPERTY_CHANGE_2
620             return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.GrabHandleImage);
621 #else
622             string temp;
623             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandleImage).Get(out temp);
624             return temp;
625 #endif
626         }));
627         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
628         [EditorBrowsable(EditorBrowsableState.Never)]
629         public static readonly BindableProperty GrabHandlePressedImageProperty = BindableProperty.Create(nameof(TextField.GrabHandlePressedImage), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
630         {
631             var textField = (TextField)bindable;
632             if (newValue != null)
633             {
634 #if NUI_PROPERTY_CHANGE_2
635                 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.GrabHandlePressedImage, (string)newValue);
636 #else
637                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandlePressedImage, new Tizen.NUI.PropertyValue((string)newValue));
638 #endif
639             }
640         }),
641         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
642         {
643             var textField = (TextField)bindable;
644 #if NUI_PROPERTY_CHANGE_2
645             return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.GrabHandlePressedImage);
646 #else
647             string temp;
648             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandlePressedImage).Get(out temp);
649             return temp;
650 #endif
651         }));
652         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
653         [EditorBrowsable(EditorBrowsableState.Never)]
654         public static readonly BindableProperty ScrollThresholdProperty = BindableProperty.Create(nameof(TextField.ScrollThreshold), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
655         {
656             var textField = (TextField)bindable;
657             if (newValue != null)
658             {
659 #if NUI_PROPERTY_CHANGE_2
660                 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.ScrollThreshold, (float)newValue);
661 #else
662                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ScrollThreshold, new Tizen.NUI.PropertyValue((float)newValue));
663 #endif
664             }
665         }),
666         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
667         {
668             var textField = (TextField)bindable;
669 #if NUI_PROPERTY_CHANGE_2
670             return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.ScrollThreshold);
671 #else
672             float temp = 0.0f;
673             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ScrollThreshold).Get(out temp);
674             return temp;
675 #endif
676         }));
677         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
678         [EditorBrowsable(EditorBrowsableState.Never)]
679         public static readonly BindableProperty ScrollSpeedProperty = BindableProperty.Create(nameof(TextField.ScrollSpeed), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
680         {
681             var textField = (TextField)bindable;
682             if (newValue != null)
683             {
684 #if NUI_PROPERTY_CHANGE_2
685                 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.ScrollSpeed, (float)newValue);
686 #else
687                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ScrollSpeed, new Tizen.NUI.PropertyValue((float)newValue));
688 #endif
689             }
690         }),
691         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
692         {
693             var textField = (TextField)bindable;
694 #if NUI_PROPERTY_CHANGE_2
695             return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.ScrollSpeed);
696 #else
697             float temp = 0.0f;
698             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ScrollSpeed).Get(out temp);
699             return temp;
700 #endif
701         }));
702
703         [EditorBrowsable(EditorBrowsableState.Never)]
704         public static readonly BindableProperty SelectionPopupStyleProperty = BindableProperty.Create(nameof(SelectionPopupStyle), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
705         {
706             var textField = (TextField)bindable;
707             if (newValue != null)
708             {
709                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionPopupStyle, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
710             }
711         }),
712         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
713         {
714             var textField = (TextField)bindable;
715             PropertyMap temp = new PropertyMap();
716             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionPopupStyle).Get(temp);
717             return temp;
718         }));
719
720         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
721         [EditorBrowsable(EditorBrowsableState.Never)]
722         public static readonly BindableProperty SelectionHandleImageLeftProperty = BindableProperty.Create(nameof(TextField.SelectionHandleImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
723         {
724             var textField = (TextField)bindable;
725             if (newValue != null)
726             {
727                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleImageLeft, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
728             }
729         }),
730         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
731         {
732             var textField = (TextField)bindable;
733             PropertyMap temp = new PropertyMap();
734             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleImageLeft).Get(temp);
735             return temp;
736         }));
737         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
738         [EditorBrowsable(EditorBrowsableState.Never)]
739         public static readonly BindableProperty SelectionHandleImageRightProperty = BindableProperty.Create(nameof(TextField.SelectionHandleImageRight), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
740         {
741             var textField = (TextField)bindable;
742             if (newValue != null)
743             {
744                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleImageRight, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
745             }
746         }),
747         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
748         {
749             var textField = (TextField)bindable;
750             PropertyMap temp = new PropertyMap();
751             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleImageRight).Get(temp);
752             return temp;
753         }));
754         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
755         [EditorBrowsable(EditorBrowsableState.Never)]
756         public static readonly BindableProperty SelectionHandlePressedImageLeftProperty = BindableProperty.Create(nameof(TextField.SelectionHandlePressedImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
757         {
758             var textField = (TextField)bindable;
759             if (newValue != null)
760             {
761                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandlePressedImageLeft, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
762             }
763         }),
764         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
765         {
766             var textField = (TextField)bindable;
767             PropertyMap temp = new PropertyMap();
768             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandlePressedImageLeft).Get(temp);
769             return temp;
770         }));
771         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
772         [EditorBrowsable(EditorBrowsableState.Never)]
773         public static readonly BindableProperty SelectionHandlePressedImageRightProperty = BindableProperty.Create(nameof(TextField.SelectionHandlePressedImageRight), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
774         {
775             var textField = (TextField)bindable;
776             if (newValue != null)
777             {
778                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandlePressedImageRight, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
779             }
780         }),
781         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
782         {
783             var textField = (TextField)bindable;
784             PropertyMap temp = new PropertyMap();
785             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandlePressedImageRight).Get(temp);
786             return temp;
787         }));
788         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
789         [EditorBrowsable(EditorBrowsableState.Never)]
790         public static readonly BindableProperty SelectionHandleMarkerImageLeftProperty = BindableProperty.Create(nameof(TextField.SelectionHandleMarkerImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
791         {
792             var textField = (TextField)bindable;
793             if (newValue != null)
794             {
795                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleMarkerImageLeft, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
796             }
797         }),
798         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
799         {
800             var textField = (TextField)bindable;
801             PropertyMap temp = new PropertyMap();
802             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleMarkerImageLeft).Get(temp);
803             return temp;
804         }));
805         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
806         [EditorBrowsable(EditorBrowsableState.Never)]
807         public static readonly BindableProperty SelectionHandleMarkerImageRightProperty = BindableProperty.Create(nameof(TextField.SelectionHandleMarkerImageRight), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
808         {
809             var textField = (TextField)bindable;
810             if (newValue != null)
811             {
812                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleMarkerImageRight, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
813             }
814         }),
815         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
816         {
817             var textField = (TextField)bindable;
818             PropertyMap temp = new PropertyMap();
819             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleMarkerImageRight).Get(temp);
820             return temp;
821         }));
822         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
823         [EditorBrowsable(EditorBrowsableState.Never)]
824         public static readonly BindableProperty SelectionHighlightColorProperty = BindableProperty.Create(nameof(TextField.SelectionHighlightColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
825         {
826             var textField = (TextField)bindable;
827             if (newValue != null)
828             {
829 #if NUI_PROPERTY_CHANGE_2
830                 Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.SelectionHighlightColor, ((Vector4)newValue).SwigCPtr);
831 #else
832                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHighlightColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
833 #endif
834             }
835         }),
836         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
837         {
838             var textField = (TextField)bindable;
839 #if NUI_PROPERTY_CHANGE_2
840             if (textField.internalSelectionHighlightColor == null)
841             {
842                 textField.internalSelectionHighlightColor = new Vector4(0, 0, 0, 0);
843             }
844             Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.SelectionHighlightColor, textField.internalSelectionHighlightColor.SwigCPtr);
845             return textField.internalSelectionHighlightColor;
846 #else
847             Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
848             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHighlightColor).Get(temp);
849             return temp;
850 #endif
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 DecorationBoundingBoxProperty = BindableProperty.Create(nameof(TextField.DecorationBoundingBox), typeof(Rectangle), 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.DecorationBoundingBox, new Tizen.NUI.PropertyValue((Rectangle)newValue));
860             }
861         }),
862         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
863         {
864             var textField = (TextField)bindable;
865             Rectangle temp = new Rectangle(0, 0, 0, 0);
866             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.DecorationBoundingBox).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 InputMethodSettingsProperty = BindableProperty.Create(nameof(TextField.InputMethodSettings), typeof(PropertyMap), typeof(TextField), null, 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.InputMethodSettings, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
877             }
878         }),
879         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
880         {
881             var textField = (TextField)bindable;
882             PropertyMap temp = new PropertyMap();
883             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputMethodSettings).Get(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 InputColorProperty = BindableProperty.Create(nameof(TextField.InputColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
889         {
890             var textField = (TextField)bindable;
891             if (newValue != null)
892             {
893 #if NUI_PROPERTY_CHANGE_2
894                 Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.InputColor, ((Vector4)newValue).SwigCPtr);
895 #else
896                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
897 #endif
898             }
899         }),
900         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
901         {
902             var textField = (TextField)bindable;
903 #if NUI_PROPERTY_CHANGE_2
904             if (textField.internalInputColor == null)
905             {
906                 textField.internalInputColor = new Vector4(0, 0, 0, 0);
907             }
908             Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.InputColor, textField.internalInputColor.SwigCPtr);
909             return textField.internalInputColor;
910 #else
911             Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
912             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputColor).Get(temp);
913             return temp;
914 #endif
915         }));
916         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
917         [EditorBrowsable(EditorBrowsableState.Never)]
918         public static readonly BindableProperty EnableMarkupProperty = BindableProperty.Create(nameof(TextField.EnableMarkup), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
919         {
920             var textField = (TextField)bindable;
921             if (newValue != null)
922             {
923 #if NUI_PROPERTY_CHANGE_2
924                 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableMarkup, (bool)newValue);
925 #else
926                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableMarkup, new Tizen.NUI.PropertyValue((bool)newValue));
927 #endif
928             }
929         }),
930         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
931         {
932             var textField = (TextField)bindable;
933 #if NUI_PROPERTY_CHANGE_2
934             return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableMarkup);
935 #else
936             bool temp = false;
937             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableMarkup).Get(out temp);
938             return temp;
939 #endif
940         }));
941         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
942         [EditorBrowsable(EditorBrowsableState.Never)]
943         public static readonly BindableProperty InputFontFamilyProperty = BindableProperty.Create(nameof(TextField.InputFontFamily), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
944         {
945             var textField = (TextField)bindable;
946             if (newValue != null)
947             {
948 #if NUI_PROPERTY_CHANGE_2
949                 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.InputFontFamily, (string)newValue);
950 #else
951                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputFontFamily, new Tizen.NUI.PropertyValue((string)newValue));
952 #endif
953             }
954         }),
955         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
956         {
957             var textField = (TextField)bindable;
958 #if NUI_PROPERTY_CHANGE_2
959             return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.InputFontFamily);
960 #else
961             string temp;
962             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputFontFamily).Get(out temp);
963             return temp;
964 #endif
965         }));
966         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
967         [EditorBrowsable(EditorBrowsableState.Never)]
968         public static readonly BindableProperty InputFontStyleProperty = BindableProperty.Create(nameof(TextField.InputFontStyle), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
969         {
970             var textField = (TextField)bindable;
971             if (newValue != null)
972             {
973                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputFontStyle, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
974             }
975         }),
976         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
977         {
978             var textField = (TextField)bindable;
979             PropertyMap temp = new PropertyMap();
980             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputFontStyle).Get(temp);
981             return temp;
982         }));
983         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
984         [EditorBrowsable(EditorBrowsableState.Never)]
985         public static readonly BindableProperty InputPointSizeProperty = BindableProperty.Create(nameof(TextField.InputPointSize), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
986         {
987             var textField = (TextField)bindable;
988             if (newValue != null)
989             {
990 #if NUI_PROPERTY_CHANGE_2
991                 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.InputPointSize, (float)newValue);
992 #else
993                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputPointSize, new Tizen.NUI.PropertyValue((float)newValue));
994 #endif
995             }
996         }),
997         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
998         {
999             var textField = (TextField)bindable;
1000 #if NUI_PROPERTY_CHANGE_2
1001             return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.InputPointSize);
1002 #else
1003             float temp = 0.0f;
1004             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputPointSize).Get(out temp);
1005             return temp;
1006 #endif
1007         }));
1008         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1009         [EditorBrowsable(EditorBrowsableState.Never)]
1010         public static readonly BindableProperty UnderlineProperty = BindableProperty.Create(nameof(TextField.Underline), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1011         {
1012             var textField = (TextField)bindable;
1013             if (newValue != null)
1014             {
1015                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.UNDERLINE, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
1016             }
1017         }),
1018         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1019         {
1020             var textField = (TextField)bindable;
1021             PropertyMap temp = new PropertyMap();
1022             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.UNDERLINE).Get(temp);
1023             return temp;
1024         }));
1025         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1026         [EditorBrowsable(EditorBrowsableState.Never)]
1027         public static readonly BindableProperty InputUnderlineProperty = BindableProperty.Create(nameof(TextField.InputUnderline), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1028         {
1029             var textField = (TextField)bindable;
1030             if (newValue != null)
1031             {
1032 #if NUI_PROPERTY_CHANGE_2
1033                 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.InputUnderline, (string)newValue);
1034 #else
1035                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputUnderline, new Tizen.NUI.PropertyValue((string)newValue));
1036 #endif
1037             }
1038         }),
1039         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1040         {
1041             var textField = (TextField)bindable;
1042 #if NUI_PROPERTY_CHANGE_2
1043             return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.InputUnderline);
1044 #else
1045             string temp;
1046             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputUnderline).Get(out temp);
1047             return temp;
1048 #endif
1049         }));
1050
1051         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1052         [EditorBrowsable(EditorBrowsableState.Never)]
1053         public static readonly BindableProperty ShadowProperty = BindableProperty.Create(nameof(TextField.Shadow), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1054         {
1055             var textField = (TextField)bindable;
1056             if (newValue != null)
1057             {
1058                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SHADOW, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
1059             }
1060         }),
1061         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1062         {
1063             var textField = (TextField)bindable;
1064             PropertyMap temp = new PropertyMap();
1065             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SHADOW).Get(temp);
1066             return temp;
1067         }));
1068         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1069         [EditorBrowsable(EditorBrowsableState.Never)]
1070         public static readonly BindableProperty InputShadowProperty = BindableProperty.Create(nameof(TextField.InputShadow), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1071         {
1072             var textField = (TextField)bindable;
1073             if (newValue != null)
1074             {
1075 #if NUI_PROPERTY_CHANGE_2
1076                 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.InputShadow, (string)newValue);
1077 #else
1078                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputShadow, new Tizen.NUI.PropertyValue((string)newValue));
1079 #endif
1080             }
1081         }),
1082         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1083         {
1084             var textField = (TextField)bindable;
1085 #if NUI_PROPERTY_CHANGE_2
1086             return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.InputShadow);
1087 #else
1088             string temp;
1089             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputShadow).Get(out temp);
1090             return temp;
1091 #endif
1092         }));
1093         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1094         [EditorBrowsable(EditorBrowsableState.Never)]
1095         public static readonly BindableProperty EmbossProperty = BindableProperty.Create(nameof(TextField.Emboss), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1096         {
1097             var textField = (TextField)bindable;
1098             if (newValue != null)
1099             {
1100 #if NUI_PROPERTY_CHANGE_2
1101                 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.EMBOSS, (string)newValue);
1102 #else
1103                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EMBOSS, new Tizen.NUI.PropertyValue((string)newValue));
1104 #endif
1105             }
1106         }),
1107         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1108         {
1109             var textField = (TextField)bindable;
1110 #if NUI_PROPERTY_CHANGE_2
1111             return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.EMBOSS);
1112 #else
1113             string temp;
1114             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EMBOSS).Get(out temp);
1115             return temp;
1116 #endif
1117         }));
1118         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1119         [EditorBrowsable(EditorBrowsableState.Never)]
1120         public static readonly BindableProperty InputEmbossProperty = BindableProperty.Create(nameof(TextField.InputEmboss), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1121         {
1122             var textField = (TextField)bindable;
1123             if (newValue != null)
1124             {
1125 #if NUI_PROPERTY_CHANGE_2
1126                 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.InputEmboss, (string)newValue);
1127 #else
1128                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputEmboss, new Tizen.NUI.PropertyValue((string)newValue));
1129 #endif
1130             }
1131         }),
1132         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1133         {
1134             var textField = (TextField)bindable;
1135 #if NUI_PROPERTY_CHANGE_2
1136             return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.InputEmboss);
1137 #else
1138             string temp;
1139             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputEmboss).Get(out temp);
1140             return temp;
1141 #endif
1142         }));
1143         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1144         [EditorBrowsable(EditorBrowsableState.Never)]
1145         public static readonly BindableProperty OutlineProperty = BindableProperty.Create(nameof(TextField.Outline), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1146         {
1147             var textField = (TextField)bindable;
1148             if (newValue != null)
1149             {
1150                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.OUTLINE, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
1151             }
1152         }),
1153         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1154         {
1155             var textField = (TextField)bindable;
1156             PropertyMap temp = new PropertyMap();
1157             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.OUTLINE).Get(temp);
1158             return temp;
1159         }));
1160         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1161         [EditorBrowsable(EditorBrowsableState.Never)]
1162         public static readonly BindableProperty InputOutlineProperty = BindableProperty.Create(nameof(TextField.InputOutline), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1163         {
1164             var textField = (TextField)bindable;
1165             if (newValue != null)
1166             {
1167 #if NUI_PROPERTY_CHANGE_2
1168                 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.InputOutline, (string)newValue);
1169 #else
1170                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputOutline, new Tizen.NUI.PropertyValue((string)newValue));
1171 #endif
1172             }
1173         }),
1174         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1175         {
1176             var textField = (TextField)bindable;
1177 #if NUI_PROPERTY_CHANGE_2
1178             return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.InputOutline);
1179 #else
1180             string temp;
1181             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputOutline).Get(out temp);
1182             return temp;
1183 #endif
1184         }));
1185         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1186         [EditorBrowsable(EditorBrowsableState.Never)]
1187         public static readonly BindableProperty HiddenInputSettingsProperty = BindableProperty.Create(nameof(TextField.HiddenInputSettings), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1188         {
1189             var textField = (TextField)bindable;
1190             if (newValue != null)
1191             {
1192                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.HiddenInputSettings, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
1193             }
1194         }),
1195         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1196         {
1197             var textField = (TextField)bindable;
1198             Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
1199             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.HiddenInputSettings).Get(temp);
1200             return temp;
1201         }));
1202         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1203         [EditorBrowsable(EditorBrowsableState.Never)]
1204         public static readonly BindableProperty PixelSizeProperty = BindableProperty.Create(nameof(TextField.PixelSize), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1205         {
1206             var textField = (TextField)bindable;
1207             if (newValue != null)
1208             {
1209 #if NUI_PROPERTY_CHANGE_2
1210                 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.PixelSize, (float)newValue);
1211 #else
1212                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PixelSize, new Tizen.NUI.PropertyValue((float)newValue));
1213 #endif
1214             }
1215         }),
1216         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1217         {
1218             var textField = (TextField)bindable;
1219 #if NUI_PROPERTY_CHANGE_2
1220             return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.PixelSize);
1221 #else
1222             float temp = 0.0f;
1223             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PixelSize).Get(out temp);
1224             return temp;
1225 #endif
1226         }));
1227         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1228         [EditorBrowsable(EditorBrowsableState.Never)]
1229         public static readonly BindableProperty EnableSelectionProperty = BindableProperty.Create(nameof(TextField.EnableSelection), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1230         {
1231             var textField = (TextField)bindable;
1232             if (newValue != null)
1233             {
1234 #if NUI_PROPERTY_CHANGE_2
1235                 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableSelection, (bool)newValue);
1236 #else
1237                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableSelection, new Tizen.NUI.PropertyValue((bool)newValue));
1238 #endif
1239             }
1240         }),
1241         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1242         {
1243             var textField = (TextField)bindable;
1244 #if NUI_PROPERTY_CHANGE_2
1245             return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableSelection);
1246 #else
1247             bool temp = false;
1248             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableSelection).Get(out temp);
1249             return temp;
1250 #endif
1251         }));
1252         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1253         [EditorBrowsable(EditorBrowsableState.Never)]
1254         public static readonly BindableProperty PlaceholderProperty = BindableProperty.Create(nameof(TextField.Placeholder), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1255         {
1256             var textField = (TextField)bindable;
1257             if (newValue != null)
1258             {
1259                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PLACEHOLDER, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
1260             }
1261         }),
1262         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1263         {
1264             var textField = (TextField)bindable;
1265             Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
1266             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PLACEHOLDER).Get(temp);
1267             return temp;
1268         }));
1269         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1270         [EditorBrowsable(EditorBrowsableState.Never)]
1271         public static readonly BindableProperty EllipsisProperty = BindableProperty.Create(nameof(TextField.Ellipsis), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1272         {
1273             var textField = (TextField)bindable;
1274             if (newValue != null)
1275             {
1276 #if NUI_PROPERTY_CHANGE_2
1277                 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.ELLIPSIS, (bool)newValue);
1278 #else
1279                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ELLIPSIS, new Tizen.NUI.PropertyValue((bool)newValue));
1280 #endif
1281             }
1282         }),
1283         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1284         {
1285             var textField = (TextField)bindable;
1286 #if NUI_PROPERTY_CHANGE_2
1287             return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.ELLIPSIS);
1288 #else
1289             bool temp = false;
1290             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ELLIPSIS).Get(out temp);
1291             return temp;
1292 #endif
1293         }));
1294         /// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1295         [EditorBrowsable(EditorBrowsableState.Never)]
1296         public static readonly BindableProperty EllipsisPositionProperty = BindableProperty.Create(nameof(EllipsisPosition), typeof(EllipsisPosition), typeof(TextField), EllipsisPosition.End, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1297         {
1298             var textField = (TextField)bindable;
1299             if (newValue != null)
1300             {
1301 #if NUI_PROPERTY_CHANGE_2
1302                 Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.EllipsisPosition, (int)newValue);
1303 #else
1304                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EllipsisPosition, new Tizen.NUI.PropertyValue((int)newValue));
1305 #endif
1306             }
1307         }),
1308         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1309         {
1310             var textField = (TextField)bindable;
1311 #if NUI_PROPERTY_CHANGE_2
1312             return Object.InternalGetPropertyInt(textField.SwigCPtr, TextField.Property.EllipsisPosition);
1313 #else
1314             int temp = 0;
1315             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EllipsisPosition).Get(out temp);
1316             return (EllipsisPosition)temp;
1317 #endif
1318         }));
1319         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1320         [EditorBrowsable(EditorBrowsableState.Never)]
1321         public static readonly BindableProperty EnableShiftSelectionProperty = BindableProperty.Create(nameof(TextField.EnableShiftSelection), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1322         {
1323             var textField = (TextField)bindable;
1324             if (newValue != null)
1325             {
1326 #if NUI_PROPERTY_CHANGE_2
1327                 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableShiftSelection, (bool)newValue);
1328 #else
1329                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableShiftSelection, new Tizen.NUI.PropertyValue((bool)newValue));
1330 #endif
1331             }
1332         }),
1333         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1334         {
1335             var textField = (TextField)bindable;
1336 #if NUI_PROPERTY_CHANGE_2
1337             return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableShiftSelection);
1338 #else
1339             bool temp = false;
1340             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableShiftSelection).Get(out temp);
1341             return temp;
1342 #endif
1343         }));
1344         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1345         [EditorBrowsable(EditorBrowsableState.Never)]
1346         public static readonly BindableProperty MatchSystemLanguageDirectionProperty = BindableProperty.Create(nameof(TextField.MatchSystemLanguageDirection), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1347         {
1348             var textField = (TextField)bindable;
1349             if (newValue != null)
1350             {
1351 #if NUI_PROPERTY_CHANGE_2
1352                 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.MatchSystemLanguageDirection, (bool)newValue);
1353 #else
1354                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.MatchSystemLanguageDirection, new Tizen.NUI.PropertyValue((bool)newValue));
1355 #endif
1356             }
1357         }),
1358         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1359         {
1360             var textField = (TextField)bindable;
1361 #if NUI_PROPERTY_CHANGE_2
1362             return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.MatchSystemLanguageDirection);
1363 #else
1364             bool temp = false;
1365             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.MatchSystemLanguageDirection).Get(out temp);
1366             return (bool)temp;
1367 #endif
1368         }));
1369
1370         [EditorBrowsable(EditorBrowsableState.Never)]
1371         public static readonly BindableProperty FontSizeScaleProperty = BindableProperty.Create(nameof(FontSizeScale), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1372         {
1373             var textField = (TextField)bindable;
1374             if (newValue != null)
1375             {
1376 #if NUI_PROPERTY_CHANGE_2
1377                 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.FontSizeScale, (float)newValue);
1378 #else
1379                 using (var property = new Tizen.NUI.PropertyValue((float)newValue))
1380                 {
1381                     Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.FontSizeScale, property);
1382                 }
1383 #endif
1384             }
1385         }),
1386         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1387         {
1388             var textField = (TextField)bindable;
1389 #if NUI_PROPERTY_CHANGE_2
1390             return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.FontSizeScale);
1391 #else
1392             float temp;
1393             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.FontSizeScale).Get(out temp);
1394             return temp;
1395 #endif
1396         }));
1397
1398         [EditorBrowsable(EditorBrowsableState.Never)]
1399         public static readonly BindableProperty EnableFontSizeScaleProperty = BindableProperty.Create(nameof(EnableFontSizeScale), typeof(bool), typeof(TextField), default(bool), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1400         {
1401             var textField = (TextField)bindable;
1402             if (newValue != null)
1403             {
1404 #if NUI_PROPERTY_CHANGE_2
1405                 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableFontSizeScale, (bool)newValue);
1406 #else
1407                 using (var property = new Tizen.NUI.PropertyValue((bool)newValue))
1408                 {
1409                     Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableFontSizeScale, property);
1410                 }
1411 #endif
1412             }
1413         }),
1414         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1415         {
1416             var textField = (TextField)bindable;
1417 #if NUI_PROPERTY_CHANGE_2
1418             return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableFontSizeScale);
1419 #else
1420             bool temp;
1421             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableFontSizeScale).Get(out temp);
1422             return temp;
1423 #endif
1424         }));
1425
1426         /// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1427         [EditorBrowsable(EditorBrowsableState.Never)]
1428         public static readonly BindableProperty GrabHandleColorProperty = BindableProperty.Create(nameof(TextField.GrabHandleColor), typeof(Color), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1429         {
1430             var textField = (TextField)bindable;
1431             if (newValue != null)
1432             {
1433 #if NUI_PROPERTY_CHANGE_2
1434                 Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.GrabHandleColor, ((Color)newValue).SwigCPtr);
1435 #else
1436                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandleColor, new Tizen.NUI.PropertyValue((Color)newValue));
1437 #endif
1438             }
1439         }),
1440         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1441         {
1442             var textField = (TextField)bindable;
1443 #if NUI_PROPERTY_CHANGE_2
1444             if (textField.internalGrabHandleColor == null)
1445             {
1446                 textField.internalGrabHandleColor = new Color(0, 0, 0, 0);
1447             }
1448             Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.GrabHandleColor, textField.internalGrabHandleColor.SwigCPtr);
1449             return textField.internalGrabHandleColor;
1450 #else
1451             Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
1452             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandleColor).Get(temp);
1453             return temp;
1454 #endif
1455         }));
1456
1457         /// <summary>
1458         /// ShadowOffsetProperty
1459         /// </summary>
1460         [EditorBrowsable(EditorBrowsableState.Never)]
1461         public static readonly BindableProperty ShadowOffsetProperty = BindableProperty.Create(nameof(ShadowOffset), typeof(Tizen.NUI.Vector2), typeof(Tizen.NUI.BaseComponents.TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
1462         {
1463             var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1464             if (newValue != null)
1465             {
1466                 instance.InternalShadowOffset = (Tizen.NUI.Vector2)newValue;
1467             }
1468         },
1469         defaultValueCreator: (bindable) =>
1470         {
1471             var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1472             return instance.InternalShadowOffset;
1473         });
1474
1475         /// <summary>
1476         /// ShadowColorProperty
1477         /// </summary>
1478         [EditorBrowsable(EditorBrowsableState.Never)]
1479         public static readonly BindableProperty ShadowColorProperty = BindableProperty.Create(nameof(ShadowColor), typeof(Tizen.NUI.Vector4), typeof(Tizen.NUI.BaseComponents.TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
1480         {
1481             var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1482             if (newValue != null)
1483             {
1484                 instance.InternalShadowColor = (Tizen.NUI.Vector4)newValue;
1485             }
1486         },
1487         defaultValueCreator: (bindable) =>
1488         {
1489             var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1490             return instance.InternalShadowColor;
1491         });
1492
1493         /// <summary>
1494         /// EnableEditingProperty
1495         /// </summary>
1496         [EditorBrowsable(EditorBrowsableState.Never)]
1497         public static readonly BindableProperty EnableEditingProperty = BindableProperty.Create(nameof(EnableEditing), typeof(bool), typeof(Tizen.NUI.BaseComponents.TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
1498         {
1499             var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1500             if (newValue != null)
1501             {
1502                 instance.InternalEnableEditing = (bool)newValue;
1503             }
1504         },
1505         defaultValueCreator: (bindable) =>
1506         {
1507             var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1508             return instance.InternalEnableEditing;
1509         });
1510
1511         /// <summary>
1512         /// PrimaryCursorPositionProperty
1513         /// </summary>
1514         [EditorBrowsable(EditorBrowsableState.Never)]
1515         public static readonly BindableProperty PrimaryCursorPositionProperty = BindableProperty.Create(nameof(PrimaryCursorPosition), typeof(int), typeof(Tizen.NUI.BaseComponents.TextField), 0, propertyChanged: (bindable, oldValue, newValue) =>
1516         {
1517             var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1518             if (newValue != null)
1519             {
1520                 instance.InternalPrimaryCursorPosition = (int)newValue;
1521             }
1522         },
1523         defaultValueCreator: (bindable) =>
1524         {
1525             var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1526             return instance.InternalPrimaryCursorPosition;
1527         });
1528         /// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1529         [EditorBrowsable(EditorBrowsableState.Never)]
1530         public static readonly BindableProperty CharacterSpacingProperty = BindableProperty.Create(nameof(CharacterSpacing), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1531         {
1532             var textField = (TextField)bindable;
1533             if (newValue != null)
1534             {
1535 #if NUI_PROPERTY_CHANGE_2
1536                 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.CharacterSpacing, (float)newValue);
1537 #else
1538                 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CharacterSpacing, new Tizen.NUI.PropertyValue((float)newValue));
1539 #endif
1540             }
1541         }),
1542         defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1543         {
1544             var textField = (TextField)bindable;
1545 #if NUI_PROPERTY_CHANGE_2
1546             return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.CharacterSpacing);
1547 #else
1548             float temp = 0;
1549             Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CharacterSpacing).Get(out temp);
1550             return temp;
1551 #endif
1552         }));
1553     }
1554 }