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