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