[NUI] Sync dalihub and Samsung TizenFX (#349)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / BaseComponents / TextField.cs
1 /*
2  * Copyright(c) 2018 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 extern alias TizenSystemSettings;
18 using TizenSystemSettings.Tizen.System;
19
20 using System;
21 using System.Runtime.InteropServices;
22 using System.Globalization;
23 using System.ComponentModel;
24 using Tizen.NUI.Binding;
25
26 namespace Tizen.NUI.BaseComponents
27 {
28     /// <summary>
29     /// A control which provides a single line editable text field.
30     /// </summary>
31     /// <since_tizen> 3 </since_tizen>
32     public class TextField : View
33     {
34         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
35         [EditorBrowsable(EditorBrowsableState.Never)]
36         public static readonly BindableProperty TextProperty = BindableProperty.Create("Text", typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
37         {
38             var textField = (TextField)bindable;
39             if (newValue != null)
40             {
41                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.TEXT, new Tizen.NUI.PropertyValue((string)newValue));
42             }
43         },
44         defaultValueCreator:(bindable) =>
45         {
46             var textField = (TextField)bindable;
47             string temp;
48             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.TEXT).Get(out temp);
49             return temp;
50         });
51         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
52         [EditorBrowsable(EditorBrowsableState.Never)]
53         public static readonly BindableProperty PlaceholderTextProperty = BindableProperty.Create("PlaceholderText", typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
54         {
55             var textField = (TextField)bindable;
56             if (newValue != null)
57             {
58                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.PLACEHOLDER_TEXT, new Tizen.NUI.PropertyValue((string)newValue));
59             }
60         },
61         defaultValueCreator:(bindable) =>
62         {
63             var textField = (TextField)bindable;
64             string temp;
65             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.PLACEHOLDER_TEXT).Get(out temp);
66             return temp;
67         });
68         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
69         [EditorBrowsable(EditorBrowsableState.Never)]
70         public static readonly BindableProperty PlaceholderTextFocusedProperty = BindableProperty.Create("PlaceholderTextFocused", typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
71         {
72             var textField = (TextField)bindable;
73             if (newValue != null)
74             {
75                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.PLACEHOLDER_TEXT_FOCUSED, new Tizen.NUI.PropertyValue((string)newValue));
76             }
77         },
78         defaultValueCreator:(bindable) =>
79         {
80             var textField = (TextField)bindable;
81             string temp;
82             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.PLACEHOLDER_TEXT_FOCUSED).Get(out temp);
83             return temp;
84         });
85         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
86         [EditorBrowsable(EditorBrowsableState.Never)]
87         public static readonly BindableProperty FontFamilyProperty = BindableProperty.Create("FontFamily", typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
88         {
89             var textField = (TextField)bindable;
90             if (newValue != null)
91             {
92                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue((string)newValue));
93             }
94         },
95         defaultValueCreator:(bindable) =>
96         {
97             var textField = (TextField)bindable;
98             string temp;
99             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.FONT_FAMILY).Get(out temp);
100             return temp;
101         });
102         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
103         [EditorBrowsable(EditorBrowsableState.Never)]
104         public static readonly BindableProperty FontStyleProperty = BindableProperty.Create("FontStyle", typeof(PropertyMap), typeof(TextField), new PropertyMap(), propertyChanged: (bindable, oldValue, newValue) =>
105         {
106             var textField = (TextField)bindable;
107             if (newValue != null)
108             {
109                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.FONT_STYLE, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
110             }
111         },
112         defaultValueCreator:(bindable) =>
113         {
114             var textField = (TextField)bindable;
115             PropertyMap temp = new PropertyMap();
116             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.FONT_STYLE).Get(temp);
117             return temp;
118         });
119         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
120         [EditorBrowsable(EditorBrowsableState.Never)]
121         public static readonly BindableProperty PointSizeProperty = BindableProperty.Create("PointSize", typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
122         {
123             var textField = (TextField)bindable;
124             if (newValue != null)
125             {
126                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.POINT_SIZE, new Tizen.NUI.PropertyValue((float)newValue));
127             }
128         },
129         defaultValueCreator:(bindable) =>
130         {
131             var textField = (TextField)bindable;
132             float temp = 0.0f;
133             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.POINT_SIZE).Get(out temp);
134             return temp;
135         });
136         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
137         [EditorBrowsable(EditorBrowsableState.Never)]
138         public static readonly BindableProperty MaxLengthProperty = BindableProperty.Create("MaxLength", typeof(int), typeof(TextField), default(int), propertyChanged: (bindable, oldValue, newValue) =>
139         {
140             var textField = (TextField)bindable;
141             if (newValue != null)
142             {
143                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.MAX_LENGTH, new Tizen.NUI.PropertyValue((int)newValue));
144             }
145         },
146         defaultValueCreator:(bindable) =>
147         {
148             var textField = (TextField)bindable;
149             int temp = 0;
150             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.MAX_LENGTH).Get(out temp);
151             return temp;
152         });
153         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
154         [EditorBrowsable(EditorBrowsableState.Never)]
155         public static readonly BindableProperty ExceedPolicyProperty = BindableProperty.Create("ExceedPolicy", typeof(int), typeof(TextField), default(int), propertyChanged: (bindable, oldValue, newValue) =>
156         {
157             var textField = (TextField)bindable;
158             if (newValue != null)
159             {
160                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.EXCEED_POLICY, new Tizen.NUI.PropertyValue((int)newValue));
161             }
162         },
163         defaultValueCreator:(bindable) =>
164         {
165             var textField = (TextField)bindable;
166             int temp = 0;
167             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.EXCEED_POLICY).Get(out temp);
168             return temp;
169         });
170         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
171         [EditorBrowsable(EditorBrowsableState.Never)]
172         public static readonly BindableProperty HorizontalAlignmentProperty = BindableProperty.Create("HorizontalAlignment", typeof(HorizontalAlignment), typeof(TextField), HorizontalAlignment.Begin, propertyChanged: (bindable, oldValue, newValue) =>
173         {
174             var textField = (TextField)bindable;
175             string valueToString = "";
176             if (newValue != null)
177             {
178                 switch ((HorizontalAlignment)newValue)
179                 {
180                     case HorizontalAlignment.Begin:
181                     {
182                         valueToString = "BEGIN";
183                         break;
184                     }
185                     case HorizontalAlignment.Center:
186                     {
187                         valueToString = "CENTER";
188                         break;
189                     }
190                     case HorizontalAlignment.End:
191                     {
192                         valueToString = "END";
193                         break;
194                     }
195                     default:
196                     {
197                         valueToString = "BEGIN";
198                         break;
199                     }
200                 }
201                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue((int)newValue));
202             }
203         },
204         defaultValueCreator:(bindable) =>
205         {
206             var textField = (TextField)bindable;
207             string temp;
208             if (Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.HORIZONTAL_ALIGNMENT).Get(out temp) == false)
209             {
210                 NUILog.Error("HorizontalAlignment get error!");
211             }
212
213             switch (temp)
214             {
215                 case "BEGIN":                    return HorizontalAlignment.Begin;
216                 case "CENTER":                    return HorizontalAlignment.Center;
217                 case "END":                    return HorizontalAlignment.End;
218                 default:                    return HorizontalAlignment.Begin;
219             }
220         });
221         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
222         [EditorBrowsable(EditorBrowsableState.Never)]
223         public static readonly BindableProperty VerticalAlignmentProperty = BindableProperty.Create("VerticalAlignment", typeof(VerticalAlignment), typeof(TextField), VerticalAlignment.Bottom, propertyChanged: (bindable, oldValue, newValue) =>
224         {
225             var textField = (TextField)bindable;
226             string valueToString = "";
227             if (newValue != null)
228             {
229                 switch ((VerticalAlignment)newValue)
230                 {
231                     case VerticalAlignment.Top: { valueToString = "TOP"; break; }
232                     case VerticalAlignment.Center: { valueToString = "CENTER"; break; }
233                     case VerticalAlignment.Bottom: { valueToString = "BOTTOM"; break; }
234                     default:  { valueToString = "BOTTOM"; break; }
235                 }
236                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.VERTICAL_ALIGNMENT, new Tizen.NUI.PropertyValue((int)newValue));
237             }
238         },
239         defaultValueCreator:(bindable) =>
240         {
241             var textField = (TextField)bindable;
242             string temp;
243             if (Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.VERTICAL_ALIGNMENT).Get(out temp) == false)
244             {
245                 NUILog.Error("VerticalAlignment get error!");
246             }
247
248             switch (temp)
249             {
250                 case "TOP": return VerticalAlignment.Top;
251                 case "CENTER": return VerticalAlignment.Center;
252                 case "BOTTOM": return VerticalAlignment.Bottom;
253                 default: return VerticalAlignment.Bottom;
254             }
255         });
256         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
257         [EditorBrowsable(EditorBrowsableState.Never)]
258         public static readonly BindableProperty TextColorProperty = BindableProperty.Create("TextColor", typeof(Color), typeof(TextField), Color.Transparent, propertyChanged: (bindable, oldValue, newValue) =>
259         {
260             var textField = (TextField)bindable;
261             if (newValue != null)
262             {
263                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue((Color)newValue));
264             }
265         },
266         defaultValueCreator:(bindable) =>
267         {
268             var textField = (TextField)bindable;
269             Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
270             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.TEXT_COLOR).Get(temp);
271             return temp;
272         });
273         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
274         [EditorBrowsable(EditorBrowsableState.Never)]
275         public static readonly BindableProperty PlaceholderTextColorProperty = BindableProperty.Create("PlaceholderTextColor", typeof(Vector4), typeof(TextField), Vector4.Zero, propertyChanged: (bindable, oldValue, newValue) =>
276         {
277             var textField = (TextField)bindable;
278             if (newValue != null)
279             {
280                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.PLACEHOLDER_TEXT_COLOR, new Tizen.NUI.PropertyValue((Vector4)newValue));
281             }
282         },
283         defaultValueCreator:(bindable) =>
284         {
285             var textField = (TextField)bindable;
286             Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
287             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.PLACEHOLDER_TEXT_COLOR).Get(temp);
288             return temp;
289         });
290         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
291         [EditorBrowsable(EditorBrowsableState.Never)]
292         public static readonly BindableProperty ShadowOffsetProperty = BindableProperty.Create("ShadowOffset", typeof(Vector2), typeof(TextField), Vector2.Zero, propertyChanged: (bindable, oldValue, newValue) =>
293         {
294             var textField = (TextField)bindable;
295             if (newValue != null)
296             {
297                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.SHADOW_OFFSET, new Tizen.NUI.PropertyValue((Vector2)newValue));
298             }
299         },
300         defaultValueCreator:(bindable) =>
301         {
302             var textField = (TextField)bindable;
303             Vector2 temp = new Vector2(0.0f, 0.0f);
304             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.SHADOW_OFFSET).Get(temp);
305             return temp;
306         });
307         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
308         [EditorBrowsable(EditorBrowsableState.Never)]
309         public static readonly BindableProperty ShadowColorProperty = BindableProperty.Create("ShadowColor", typeof(Vector4), typeof(TextField), Vector4.Zero, propertyChanged: (bindable, oldValue, newValue) =>
310         {
311             var textField = (TextField)bindable;
312             if (newValue != null)
313             {
314                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.SHADOW_COLOR, new Tizen.NUI.PropertyValue((Vector4)newValue));
315             }
316         },
317         defaultValueCreator:(bindable) =>
318         {
319             var textField = (TextField)bindable;
320             Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
321             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.SHADOW_COLOR).Get(temp);
322             return temp;
323         });
324         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
325         [EditorBrowsable(EditorBrowsableState.Never)]
326         public static readonly BindableProperty PrimaryCursorColorProperty = BindableProperty.Create("PrimaryCursorColor", typeof(Vector4), typeof(TextField), Vector4.Zero, propertyChanged: (bindable, oldValue, newValue) =>
327         {
328             var textField = (TextField)bindable;
329             if (newValue != null)
330             {
331                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.PRIMARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue((Vector4)newValue));
332             }
333         },
334         defaultValueCreator:(bindable) =>
335         {
336             var textField = (TextField)bindable;
337             Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
338             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.PRIMARY_CURSOR_COLOR).Get(temp);
339             return temp;
340         });
341         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
342         [EditorBrowsable(EditorBrowsableState.Never)]
343         public static readonly BindableProperty SecondaryCursorColorProperty = BindableProperty.Create("SecondaryCursorColor", typeof(Vector4), typeof(TextField), Vector4.Zero, propertyChanged: (bindable, oldValue, newValue) =>
344         {
345             var textField = (TextField)bindable;
346             if (newValue != null)
347             {
348                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.SECONDARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue((Vector4)newValue));
349             }
350         },
351         defaultValueCreator:(bindable) =>
352         {
353             var textField = (TextField)bindable;
354             Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
355             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.SECONDARY_CURSOR_COLOR).Get(temp);
356             return temp;
357         });
358         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
359         [EditorBrowsable(EditorBrowsableState.Never)]
360         public static readonly BindableProperty EnableCursorBlinkProperty = BindableProperty.Create("EnableCursorBlink", typeof(bool), typeof(TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
361         {
362             var textField = (TextField)bindable;
363             if (newValue != null)
364             {
365                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.ENABLE_CURSOR_BLINK, new Tizen.NUI.PropertyValue((bool)newValue));
366             }
367         },
368         defaultValueCreator:(bindable) =>
369         {
370             var textField = (TextField)bindable;
371             bool temp = false;
372             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.ENABLE_CURSOR_BLINK).Get(out temp);
373             return temp;
374         });
375         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
376         [EditorBrowsable(EditorBrowsableState.Never)]
377         public static readonly BindableProperty CursorBlinkIntervalProperty = BindableProperty.Create("CursorBlinkInterval", typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
378         {
379             var textField = (TextField)bindable;
380             if (newValue != null)
381             {
382                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.CURSOR_BLINK_INTERVAL, new Tizen.NUI.PropertyValue((float)newValue));
383             }
384         },
385         defaultValueCreator:(bindable) =>
386         {
387             var textField = (TextField)bindable;
388             float temp = 0.0f;
389             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.CURSOR_BLINK_INTERVAL).Get(out temp);
390             return temp;
391         });
392         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
393         [EditorBrowsable(EditorBrowsableState.Never)]
394         public static readonly BindableProperty CursorBlinkDurationProperty = BindableProperty.Create("CursorBlinkDuration", typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
395         {
396             var textField = (TextField)bindable;
397             if (newValue != null)
398             {
399                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.CURSOR_BLINK_DURATION, new Tizen.NUI.PropertyValue((float)newValue));
400             }
401         },
402         defaultValueCreator:(bindable) =>
403         {
404             var textField = (TextField)bindable;
405             float temp = 0.0f;
406             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.CURSOR_BLINK_DURATION).Get(out temp);
407             return temp;
408         });
409         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
410         [EditorBrowsable(EditorBrowsableState.Never)]
411         public static readonly BindableProperty CursorWidthProperty = BindableProperty.Create("CursorWidth", typeof(int), typeof(TextField), default(int), propertyChanged: (bindable, oldValue, newValue) =>
412         {
413             var textField = (TextField)bindable;
414             if (newValue != null)
415             {
416                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.CURSOR_WIDTH, new Tizen.NUI.PropertyValue((int)newValue));
417             }
418         },
419         defaultValueCreator:(bindable) =>
420         {
421             var textField = (TextField)bindable;
422             int temp = 0;
423             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.CURSOR_WIDTH).Get(out temp);
424             return temp;
425         });
426         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
427         [EditorBrowsable(EditorBrowsableState.Never)]
428         public static readonly BindableProperty GrabHandleImageProperty = BindableProperty.Create("GrabHandleImage", typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
429         {
430             var textField = (TextField)bindable;
431             if (newValue != null)
432             {
433                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.GRAB_HANDLE_IMAGE, new Tizen.NUI.PropertyValue((string)newValue));
434             }
435         },
436         defaultValueCreator:(bindable) =>
437         {
438             var textField = (TextField)bindable;
439             string temp;
440             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.GRAB_HANDLE_IMAGE).Get(out temp);
441             return temp;
442         });
443         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
444         [EditorBrowsable(EditorBrowsableState.Never)]
445         public static readonly BindableProperty GrabHandlePressedImageProperty = BindableProperty.Create("GrabHandlePressedImage", typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
446         {
447             var textField = (TextField)bindable;
448             if (newValue != null)
449             {
450                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.GRAB_HANDLE_PRESSED_IMAGE, new Tizen.NUI.PropertyValue((string)newValue));
451             }
452         },
453         defaultValueCreator:(bindable) =>
454         {
455             var textField = (TextField)bindable;
456             string temp;
457             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.GRAB_HANDLE_PRESSED_IMAGE).Get(out temp);
458             return temp;
459         });
460         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
461         [EditorBrowsable(EditorBrowsableState.Never)]
462         public static readonly BindableProperty ScrollThresholdProperty = BindableProperty.Create("ScrollThreshold", typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
463         {
464             var textField = (TextField)bindable;
465             if (newValue != null)
466             {
467                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.SCROLL_THRESHOLD, new Tizen.NUI.PropertyValue((float)newValue));
468             }
469         },
470         defaultValueCreator:(bindable) =>
471         {
472             var textField = (TextField)bindable;
473             float temp = 0.0f;
474             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.SCROLL_THRESHOLD).Get(out temp);
475             return temp;
476         });
477         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
478         [EditorBrowsable(EditorBrowsableState.Never)]
479         public static readonly BindableProperty ScrollSpeedProperty = BindableProperty.Create("ScrollSpeed", typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
480         {
481             var textField = (TextField)bindable;
482             if (newValue != null)
483             {
484                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue((float)newValue));
485             }
486         },
487         defaultValueCreator:(bindable) =>
488         {
489             var textField = (TextField)bindable;
490             float temp = 0.0f;
491             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.SCROLL_SPEED).Get(out temp);
492             return temp;
493         });
494         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
495         [EditorBrowsable(EditorBrowsableState.Never)]
496         public static readonly BindableProperty SelectionHandleImageLeftProperty = BindableProperty.Create("SelectionHandleImageLeft", typeof(PropertyMap), typeof(TextField), new PropertyMap(), propertyChanged: (bindable, oldValue, newValue) =>
497         {
498             var textField = (TextField)bindable;
499             if (newValue != null)
500             {
501                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.SELECTION_HANDLE_IMAGE_LEFT, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
502             }
503         },
504         defaultValueCreator:(bindable) =>
505         {
506             var textField = (TextField)bindable;
507             PropertyMap temp = new PropertyMap();
508             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.SELECTION_HANDLE_IMAGE_LEFT).Get(temp);
509             return temp;
510         });
511         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
512         [EditorBrowsable(EditorBrowsableState.Never)]
513         public static readonly BindableProperty SelectionHandleImageRightProperty = BindableProperty.Create("SelectionHandleImageRight", typeof(PropertyMap), typeof(TextField), new PropertyMap(), propertyChanged: (bindable, oldValue, newValue) =>
514         {
515             var textField = (TextField)bindable;
516             if (newValue != null)
517             {
518                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
519             }
520         },
521         defaultValueCreator:(bindable) =>
522         {
523             var textField = (TextField)bindable;
524             PropertyMap temp = new PropertyMap();
525             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.SELECTION_HANDLE_IMAGE_RIGHT).Get(temp);
526             return temp;
527         });
528         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
529         [EditorBrowsable(EditorBrowsableState.Never)]
530         public static readonly BindableProperty SelectionHandlePressedImageLeftProperty = BindableProperty.Create("SelectionHandlePressedImageLeft", typeof(PropertyMap), typeof(TextField), new PropertyMap(), propertyChanged: (bindable, oldValue, newValue) =>
531         {
532             var textField = (TextField)bindable;
533             if (newValue != null)
534             {
535                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
536             }
537         },
538         defaultValueCreator:(bindable) =>
539         {
540             var textField = (TextField)bindable;
541             PropertyMap temp = new PropertyMap();
542             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT).Get(temp);
543             return temp;
544         });
545         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
546         [EditorBrowsable(EditorBrowsableState.Never)]
547         public static readonly BindableProperty SelectionHandlePressedImageRightProperty = BindableProperty.Create("SelectionHandlePressedImageRight", typeof(PropertyMap), typeof(TextField), new PropertyMap(), propertyChanged: (bindable, oldValue, newValue) =>
548         {
549             var textField = (TextField)bindable;
550             if (newValue != null)
551             {
552                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
553             }
554         },
555         defaultValueCreator:(bindable) =>
556         {
557             var textField = (TextField)bindable;
558             PropertyMap temp = new PropertyMap();
559             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT).Get(temp);
560             return temp;
561         });
562         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
563         [EditorBrowsable(EditorBrowsableState.Never)]
564         public static readonly BindableProperty SelectionHandleMarkerImageLeftProperty = BindableProperty.Create("SelectionHandleMarkerImageLeft", typeof(PropertyMap), typeof(TextField), new PropertyMap(), propertyChanged: (bindable, oldValue, newValue) =>
565         {
566             var textField = (TextField)bindable;
567             if (newValue != null)
568             {
569                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
570             }
571         },
572         defaultValueCreator:(bindable) =>
573         {
574             var textField = (TextField)bindable;
575             PropertyMap temp = new PropertyMap();
576             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT).Get(temp);
577             return temp;
578         });
579         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
580         [EditorBrowsable(EditorBrowsableState.Never)]
581         public static readonly BindableProperty SelectionHandleMarkerImageRightProperty = BindableProperty.Create("SelectionHandleMarkerImageRight", typeof(PropertyMap), typeof(TextField), new PropertyMap(), propertyChanged: (bindable, oldValue, newValue) =>
582         {
583             var textField = (TextField)bindable;
584             if (newValue != null)
585             {
586                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
587             }
588         },
589         defaultValueCreator:(bindable) =>
590         {
591             var textField = (TextField)bindable;
592             PropertyMap temp = new PropertyMap();
593             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT).Get(temp);
594             return temp;
595         });
596         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
597         [EditorBrowsable(EditorBrowsableState.Never)]
598         public static readonly BindableProperty SelectionHighlightColorProperty = BindableProperty.Create("SelectionHighlightColor", typeof(Vector4), typeof(TextField), Vector4.Zero, propertyChanged: (bindable, oldValue, newValue) =>
599         {
600             var textField = (TextField)bindable;
601             if (newValue != null)
602             {
603                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.SELECTION_HIGHLIGHT_COLOR, new Tizen.NUI.PropertyValue((Vector4)newValue));
604             }
605         },
606         defaultValueCreator:(bindable) =>
607         {
608             var textField = (TextField)bindable;
609             Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
610             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.SELECTION_HIGHLIGHT_COLOR).Get(temp);
611             return temp;
612         });
613         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
614         [EditorBrowsable(EditorBrowsableState.Never)]
615         public static readonly BindableProperty DecorationBoundingBoxProperty = BindableProperty.Create("DecorationBoundingBox", typeof(Rectangle), typeof(TextField), new Rectangle(0,0,0,0), propertyChanged: (bindable, oldValue, newValue) =>
616         {
617             var textField = (TextField)bindable;
618             if (newValue != null)
619             {
620                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.DECORATION_BOUNDING_BOX, new Tizen.NUI.PropertyValue((Rectangle)newValue));
621             }
622         },
623         defaultValueCreator:(bindable) =>
624         {
625             var textField = (TextField)bindable;
626             Rectangle temp = new Rectangle(0, 0, 0, 0);
627             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.DECORATION_BOUNDING_BOX).Get(temp);
628             return temp;
629         });
630         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
631         [EditorBrowsable(EditorBrowsableState.Never)]
632         public static readonly BindableProperty InputMethodSettingsProperty = BindableProperty.Create("InputMethodSettings", typeof(PropertyMap), typeof(TextField), new PropertyMap(), propertyChanged: (bindable, oldValue, newValue) =>
633         {
634             var textField = (TextField)bindable;
635             if (newValue != null)
636             {
637                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.INPUT_METHOD_SETTINGS, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
638             }
639         },
640         defaultValueCreator:(bindable) =>
641         {
642             var textField = (TextField)bindable;
643             PropertyMap temp = new PropertyMap();
644             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.INPUT_METHOD_SETTINGS).Get(temp);
645             return temp;
646         });
647         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
648         [EditorBrowsable(EditorBrowsableState.Never)]
649         public static readonly BindableProperty InputColorProperty = BindableProperty.Create("InputColor", typeof(Vector4), typeof(TextField), Vector4.Zero, propertyChanged: (bindable, oldValue, newValue) =>
650         {
651             var textField = (TextField)bindable;
652             if (newValue != null)
653             {
654                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.INPUT_COLOR, new Tizen.NUI.PropertyValue((Vector4)newValue));
655             }
656         },
657         defaultValueCreator:(bindable) =>
658         {
659             var textField = (TextField)bindable;
660             Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
661             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.INPUT_COLOR).Get(temp);
662             return temp;
663         });
664         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
665         [EditorBrowsable(EditorBrowsableState.Never)]
666         public static readonly BindableProperty EnableMarkupProperty = BindableProperty.Create("EnableMarkup", typeof(bool), typeof(TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
667         {
668             var textField = (TextField)bindable;
669             if (newValue != null)
670             {
671                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue((bool)newValue));
672             }
673         },
674         defaultValueCreator:(bindable) =>
675         {
676             var textField = (TextField)bindable;
677             bool temp = false;
678             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.ENABLE_MARKUP).Get(out temp);
679             return temp;
680         });
681         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
682         [EditorBrowsable(EditorBrowsableState.Never)]
683         public static readonly BindableProperty InputFontFamilyProperty = BindableProperty.Create("InputFontFamily", typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
684         {
685             var textField = (TextField)bindable;
686             if (newValue != null)
687             {
688                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.INPUT_FONT_FAMILY, new Tizen.NUI.PropertyValue((string)newValue));
689             }
690         },
691         defaultValueCreator:(bindable) =>
692         {
693             var textField = (TextField)bindable;
694             string temp;
695             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.INPUT_FONT_FAMILY).Get(out temp);
696             return temp;
697         });
698         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
699         [EditorBrowsable(EditorBrowsableState.Never)]
700         public static readonly BindableProperty InputFontStyleProperty = BindableProperty.Create("InputFontStyle", typeof(PropertyMap), typeof(TextField), new PropertyMap(), propertyChanged: (bindable, oldValue, newValue) =>
701         {
702             var textField = (TextField)bindable;
703             if (newValue != null)
704             {
705                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.INPUT_FONT_STYLE, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
706             }
707         },
708         defaultValueCreator:(bindable) =>
709         {
710             var textField = (TextField)bindable;
711             PropertyMap temp = new PropertyMap();
712             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.INPUT_FONT_STYLE).Get(temp);
713             return temp;
714         });
715         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
716         [EditorBrowsable(EditorBrowsableState.Never)]
717         public static readonly BindableProperty InputPointSizeProperty = BindableProperty.Create("InputPointSize", typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
718         {
719             var textField = (TextField)bindable;
720             if (newValue != null)
721             {
722                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.INPUT_POINT_SIZE, new Tizen.NUI.PropertyValue((float)newValue));
723             }
724         },
725         defaultValueCreator:(bindable) =>
726         {
727             var textField = (TextField)bindable;
728             float temp = 0.0f;
729             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.INPUT_POINT_SIZE).Get(out temp);
730             return temp;
731         });
732         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
733         [EditorBrowsable(EditorBrowsableState.Never)]
734         public static readonly BindableProperty UnderlineProperty = BindableProperty.Create("Underline", typeof(PropertyMap), typeof(TextField), new PropertyMap(), propertyChanged: (bindable, oldValue, newValue) =>
735         {
736             var textField = (TextField)bindable;
737             if (newValue != null)
738             {
739                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.UNDERLINE, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
740             }
741         },
742         defaultValueCreator:(bindable) =>
743         {
744             var textField = (TextField)bindable;
745             PropertyMap temp = new PropertyMap();
746             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.UNDERLINE).Get(temp);
747             return temp;
748         });
749         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
750         [EditorBrowsable(EditorBrowsableState.Never)]
751         public static readonly BindableProperty InputUnderlineProperty = BindableProperty.Create("InputUnderline", typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
752         {
753             var textField = (TextField)bindable;
754             if (newValue != null)
755             {
756                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.INPUT_UNDERLINE, new Tizen.NUI.PropertyValue((string)newValue));
757             }
758         },
759         defaultValueCreator:(bindable) =>
760         {
761             var textField = (TextField)bindable;
762             string temp;
763             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.INPUT_UNDERLINE).Get(out temp);
764             return temp;
765         });
766         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
767         [EditorBrowsable(EditorBrowsableState.Never)]
768         public static readonly BindableProperty ShadowProperty = BindableProperty.Create("Shadow", typeof(PropertyMap), typeof(TextField), new PropertyMap(), propertyChanged: (bindable, oldValue, newValue) =>
769         {
770             var textField = (TextField)bindable;
771             if (newValue != null)
772             {
773                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.SHADOW, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
774             }
775         },
776         defaultValueCreator:(bindable) =>
777         {
778             var textField = (TextField)bindable;
779             PropertyMap temp = new PropertyMap();
780             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.SHADOW).Get(temp);
781             return temp;
782         });
783         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
784         [EditorBrowsable(EditorBrowsableState.Never)]
785         public static readonly BindableProperty InputShadowProperty = BindableProperty.Create("InputShadow", typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
786         {
787             var textField = (TextField)bindable;
788             if (newValue != null)
789             {
790                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.INPUT_SHADOW, new Tizen.NUI.PropertyValue((string)newValue));
791             }
792         },
793         defaultValueCreator:(bindable) =>
794         {
795             var textField = (TextField)bindable;
796             string temp;
797             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.INPUT_SHADOW).Get(out temp);
798             return temp;
799         });
800         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
801         [EditorBrowsable(EditorBrowsableState.Never)]
802         public static readonly BindableProperty EmbossProperty = BindableProperty.Create("Emboss", typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
803         {
804             var textField = (TextField)bindable;
805             if (newValue != null)
806             {
807                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.EMBOSS, new Tizen.NUI.PropertyValue((string)newValue));
808             }
809         },
810         defaultValueCreator:(bindable) =>
811         {
812             var textField = (TextField)bindable;
813             string temp;
814             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.EMBOSS).Get(out temp);
815             return temp;
816         });
817         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
818         [EditorBrowsable(EditorBrowsableState.Never)]
819         public static readonly BindableProperty InputEmbossProperty = BindableProperty.Create("InputEmboss", typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
820         {
821             var textField = (TextField)bindable;
822             if (newValue != null)
823             {
824                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.INPUT_EMBOSS, new Tizen.NUI.PropertyValue((string)newValue));
825             }
826         },
827         defaultValueCreator:(bindable) =>
828         {
829             var textField = (TextField)bindable;
830             string temp;
831             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.INPUT_EMBOSS).Get(out temp);
832             return temp;
833         });
834         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
835         [EditorBrowsable(EditorBrowsableState.Never)]
836         public static readonly BindableProperty OutlineProperty = BindableProperty.Create("Outline", typeof(PropertyMap), typeof(TextField), new PropertyMap(), propertyChanged: (bindable, oldValue, newValue) =>
837         {
838             var textField = (TextField)bindable;
839             if (newValue != null)
840             {
841                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.OUTLINE, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
842             }
843         },
844         defaultValueCreator:(bindable) =>
845         {
846             var textField = (TextField)bindable;
847             PropertyMap temp = new PropertyMap();
848             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.OUTLINE).Get(temp);
849             return temp;
850         });
851         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
852         [EditorBrowsable(EditorBrowsableState.Never)]
853         public static readonly BindableProperty InputOutlineProperty = BindableProperty.Create("InputOutline", typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
854         {
855             var textField = (TextField)bindable;
856             if (newValue != null)
857             {
858                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.INPUT_OUTLINE, new Tizen.NUI.PropertyValue((string)newValue));
859             }
860         },
861         defaultValueCreator:(bindable) =>
862         {
863             var textField = (TextField)bindable;
864             string temp;
865             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.INPUT_OUTLINE).Get(out temp);
866             return temp;
867         });
868         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
869         [EditorBrowsable(EditorBrowsableState.Never)]
870         public static readonly BindableProperty HiddenInputSettingsProperty = BindableProperty.Create("HiddenInputSettings", typeof(PropertyMap), typeof(TextField), new PropertyMap(), propertyChanged: (bindable, oldValue, newValue) =>
871         {
872             var textField = (TextField)bindable;
873             if (newValue != null)
874             {
875                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.HIDDEN_INPUT_SETTINGS, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
876             }
877         },
878         defaultValueCreator:(bindable) =>
879         {
880             var textField = (TextField)bindable;
881             Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
882             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.HIDDEN_INPUT_SETTINGS).Get(temp);
883             return temp;
884         });
885         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
886         [EditorBrowsable(EditorBrowsableState.Never)]
887         public static readonly BindableProperty PixelSizeProperty = BindableProperty.Create("PixelSize", typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
888         {
889             var textField = (TextField)bindable;
890             if (newValue != null)
891             {
892                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.PIXEL_SIZE, new Tizen.NUI.PropertyValue((float)newValue));
893             }
894         },
895         defaultValueCreator:(bindable) =>
896         {
897             var textField = (TextField)bindable;
898             float temp = 0.0f;
899             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.PIXEL_SIZE).Get(out temp);
900             return temp;
901         });
902         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
903         [EditorBrowsable(EditorBrowsableState.Never)]
904         public static readonly BindableProperty EnableSelectionProperty = BindableProperty.Create("EnableSelection", typeof(bool), typeof(TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
905         {
906             var textField = (TextField)bindable;
907             if (newValue != null)
908             {
909                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.ENABLE_SELECTION, new Tizen.NUI.PropertyValue((bool)newValue));
910             }
911         },
912         defaultValueCreator:(bindable) =>
913         {
914             var textField = (TextField)bindable;
915             bool temp = false;
916             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.ENABLE_SELECTION).Get(out temp);
917             return temp;
918         });
919         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
920         [EditorBrowsable(EditorBrowsableState.Never)]
921         public static readonly BindableProperty PlaceholderProperty = BindableProperty.Create("Placeholder", typeof(PropertyMap), typeof(TextField), new PropertyMap(), propertyChanged: (bindable, oldValue, newValue) =>
922         {
923             var textField = (TextField)bindable;
924             if (newValue != null)
925             {
926                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.PLACEHOLDER, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
927             }
928         },
929         defaultValueCreator:(bindable) =>
930         {
931             var textField = (TextField)bindable;
932             Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
933             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.PLACEHOLDER).Get(temp);
934             return temp;
935         });
936         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
937         [EditorBrowsable(EditorBrowsableState.Never)]
938         public static readonly BindableProperty EllipsisProperty = BindableProperty.Create("Ellipsis", typeof(bool), typeof(TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
939         {
940             var textField = (TextField)bindable;
941             if (newValue != null)
942             {
943                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.ELLIPSIS, new Tizen.NUI.PropertyValue((bool)newValue));
944             }
945         },
946         defaultValueCreator:(bindable) =>
947         {
948             var textField = (TextField)bindable;
949             bool temp = false;
950             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.ELLIPSIS).Get(out temp);
951             return temp;
952         });
953         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
954         [EditorBrowsable(EditorBrowsableState.Never)]
955         public static readonly BindableProperty EnableShiftSelectionProperty = BindableProperty.Create("EnableShiftSelection", typeof(bool), typeof(TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
956         {
957             var textField = (TextField)bindable;
958             if (newValue != null)
959             {
960                 Tizen.NUI.Object.SetProperty(textField.swigCPtr, TextField.Property.ENABLE_SHIFT_SELECTION, new Tizen.NUI.PropertyValue((bool)newValue));
961             }
962         },
963         defaultValueCreator:(bindable) =>
964         {
965             var textField = (TextField)bindable;
966             bool temp = false;
967             Tizen.NUI.Object.GetProperty(textField.swigCPtr, TextField.Property.ENABLE_SHIFT_SELECTION).Get(out temp);
968             return temp;
969         });
970
971
972
973         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
974         private string textFieldTextSid = null;
975         private string textFieldPlaceHolderTextSid = null;
976         private bool systemlangTextFlag = false;
977
978         internal TextField(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TextField_SWIGUpcast(cPtr), cMemoryOwn)
979         {
980             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
981         }
982
983         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TextField obj)
984         {
985             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
986         }
987
988         /// <summary>
989         /// Dispose.
990         /// </summary>
991         /// <since_tizen> 3 </since_tizen>
992         protected override void Dispose(DisposeTypes type)
993         {
994             if (disposed)
995             {
996                 DisposeQueue.Instance.Add(this);
997                 return;
998             }
999
1000             if (type == DisposeTypes.Explicit)
1001             {
1002                 //Called by User
1003                 //Release your own managed resources here.
1004                 //You should release all of your own disposable objects here.
1005             }
1006
1007             //Release your own unmanaged resources here.
1008             //You should not access any managed member here except static instance.
1009             //because the execution order of Finalizes is non-deterministic.
1010             if (this != null)
1011             {
1012                 if (_textFieldMaxLengthReachedCallbackDelegate != null)
1013                 {
1014                     this.MaxLengthReachedSignal().Disconnect(_textFieldMaxLengthReachedCallbackDelegate);
1015                 }
1016
1017                 if (_textFieldTextChangedCallbackDelegate != null)
1018                 {
1019                     TextChangedSignal().Disconnect(_textFieldTextChangedCallbackDelegate);
1020                 }
1021             }
1022
1023             if (swigCPtr.Handle != global::System.IntPtr.Zero)
1024             {
1025                 if (swigCMemOwn)
1026                 {
1027                     swigCMemOwn = false;
1028                     NDalicPINVOKE.delete_TextField(swigCPtr);
1029                 }
1030                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
1031             }
1032
1033             base.Dispose(type);
1034         }
1035
1036         /// <summary>
1037         /// The TextChanged event arguments.
1038         /// </summary>
1039         /// <since_tizen> 3 </since_tizen>
1040         public class TextChangedEventArgs : EventArgs
1041         {
1042             private TextField _textField;
1043
1044             /// <summary>
1045             /// TextField.
1046             /// </summary>
1047             /// <since_tizen> 3 </since_tizen>
1048             public TextField TextField
1049             {
1050                 get
1051                 {
1052                     return _textField;
1053                 }
1054                 set
1055                 {
1056                     _textField = value;
1057                 }
1058             }
1059         }
1060
1061         /// <summary>
1062         /// The MaxLengthReached event arguments.
1063         /// </summary>
1064         /// <since_tizen> 3 </since_tizen>
1065         public class MaxLengthReachedEventArgs : EventArgs
1066         {
1067             private TextField _textField;
1068
1069             /// <summary>
1070             /// TextField.
1071             /// </summary>
1072             /// <since_tizen> 3 </since_tizen>
1073             public TextField TextField
1074             {
1075                 get
1076                 {
1077                     return _textField;
1078                 }
1079                 set
1080                 {
1081                     _textField = value;
1082                 }
1083             }
1084         }
1085
1086
1087         [UnmanagedFunctionPointer(CallingConvention.StdCall)]
1088         private delegate void TextChangedCallbackDelegate(IntPtr textField);
1089         private EventHandler<TextChangedEventArgs> _textFieldTextChangedEventHandler;
1090         private TextChangedCallbackDelegate _textFieldTextChangedCallbackDelegate;
1091
1092         [UnmanagedFunctionPointer(CallingConvention.StdCall)]
1093         private delegate void MaxLengthReachedCallbackDelegate(IntPtr textField);
1094         private EventHandler<MaxLengthReachedEventArgs> _textFieldMaxLengthReachedEventHandler;
1095         private MaxLengthReachedCallbackDelegate _textFieldMaxLengthReachedCallbackDelegate;
1096
1097         /// <summary>
1098         /// The TextChanged event.
1099         /// </summary>
1100         /// <since_tizen> 3 </since_tizen>
1101         public event EventHandler<TextChangedEventArgs> TextChanged
1102         {
1103             add
1104             {
1105                 if (_textFieldTextChangedEventHandler == null)
1106                 {
1107                     _textFieldTextChangedCallbackDelegate = (OnTextChanged);
1108                     TextChangedSignal().Connect(_textFieldTextChangedCallbackDelegate);
1109                 }
1110                 _textFieldTextChangedEventHandler += value;
1111             }
1112             remove
1113             {
1114                 _textFieldTextChangedEventHandler -= value;
1115                 if (_textFieldTextChangedEventHandler == null && TextChangedSignal().Empty() == false)
1116                 {
1117                     TextChangedSignal().Disconnect(_textFieldTextChangedCallbackDelegate);
1118                 }
1119             }
1120         }
1121
1122         private void OnTextChanged(IntPtr textField)
1123         {
1124             TextChangedEventArgs e = new TextChangedEventArgs();
1125
1126             // Populate all members of "e" (TextChangedEventArgs) with real data
1127             e.TextField = Registry.GetManagedBaseHandleFromNativePtr(textField) as TextField;
1128
1129             if (_textFieldTextChangedEventHandler != null)
1130             {
1131                 //here we send all data to user event handlers
1132                 _textFieldTextChangedEventHandler(this, e);
1133             }
1134
1135         }
1136
1137         /// <summary>
1138         /// The MaxLengthReached event.
1139         /// </summary>
1140         /// <since_tizen> 3 </since_tizen>
1141         public event EventHandler<MaxLengthReachedEventArgs> MaxLengthReached
1142         {
1143             add
1144             {
1145                 if (_textFieldMaxLengthReachedEventHandler == null)
1146                 {
1147                     _textFieldMaxLengthReachedCallbackDelegate = (OnMaxLengthReached);
1148                     MaxLengthReachedSignal().Connect(_textFieldMaxLengthReachedCallbackDelegate);
1149                 }
1150                 _textFieldMaxLengthReachedEventHandler += value;
1151             }
1152             remove
1153             {
1154                 if (_textFieldMaxLengthReachedEventHandler == null && MaxLengthReachedSignal().Empty() == false)
1155                 {
1156                     this.MaxLengthReachedSignal().Disconnect(_textFieldMaxLengthReachedCallbackDelegate);
1157                 }
1158                 _textFieldMaxLengthReachedEventHandler -= value;
1159             }
1160         }
1161
1162         private void OnMaxLengthReached(IntPtr textField)
1163         {
1164             MaxLengthReachedEventArgs e = new MaxLengthReachedEventArgs();
1165
1166             // Populate all members of "e" (MaxLengthReachedEventArgs) with real data
1167             e.TextField = Registry.GetManagedBaseHandleFromNativePtr(textField) as TextField;
1168
1169             if (_textFieldMaxLengthReachedEventHandler != null)
1170             {
1171                 //here we send all data to user event handlers
1172                 _textFieldMaxLengthReachedEventHandler(this, e);
1173             }
1174
1175         }
1176
1177         internal new class Property
1178         {
1179             internal static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextField_Property_RENDERING_BACKEND_get();
1180             internal static readonly int TEXT = NDalicPINVOKE.TextField_Property_TEXT_get();
1181             internal static readonly int PLACEHOLDER_TEXT = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_get();
1182             internal static readonly int PLACEHOLDER_TEXT_FOCUSED = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_FOCUSED_get();
1183             internal static readonly int FONT_FAMILY = NDalicPINVOKE.TextField_Property_FONT_FAMILY_get();
1184             internal static readonly int FONT_STYLE = NDalicPINVOKE.TextField_Property_FONT_STYLE_get();
1185             internal static readonly int POINT_SIZE = NDalicPINVOKE.TextField_Property_POINT_SIZE_get();
1186             internal static readonly int MAX_LENGTH = NDalicPINVOKE.TextField_Property_MAX_LENGTH_get();
1187             internal static readonly int EXCEED_POLICY = NDalicPINVOKE.TextField_Property_EXCEED_POLICY_get();
1188             internal static readonly int HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TextField_Property_HORIZONTAL_ALIGNMENT_get();
1189             internal static readonly int VERTICAL_ALIGNMENT = NDalicPINVOKE.TextField_Property_VERTICAL_ALIGNMENT_get();
1190             internal static readonly int TEXT_COLOR = NDalicPINVOKE.TextField_Property_TEXT_COLOR_get();
1191             internal static readonly int PLACEHOLDER_TEXT_COLOR = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_COLOR_get();
1192             internal static readonly int SHADOW_OFFSET = NDalicPINVOKE.TextField_Property_SHADOW_OFFSET_get();
1193             internal static readonly int SHADOW_COLOR = NDalicPINVOKE.TextField_Property_SHADOW_COLOR_get();
1194             internal static readonly int PRIMARY_CURSOR_COLOR = NDalicPINVOKE.TextField_Property_PRIMARY_CURSOR_COLOR_get();
1195             internal static readonly int SECONDARY_CURSOR_COLOR = NDalicPINVOKE.TextField_Property_SECONDARY_CURSOR_COLOR_get();
1196             internal static readonly int ENABLE_CURSOR_BLINK = NDalicPINVOKE.TextField_Property_ENABLE_CURSOR_BLINK_get();
1197             internal static readonly int CURSOR_BLINK_INTERVAL = NDalicPINVOKE.TextField_Property_CURSOR_BLINK_INTERVAL_get();
1198             internal static readonly int CURSOR_BLINK_DURATION = NDalicPINVOKE.TextField_Property_CURSOR_BLINK_DURATION_get();
1199             internal static readonly int CURSOR_WIDTH = NDalicPINVOKE.TextField_Property_CURSOR_WIDTH_get();
1200             internal static readonly int GRAB_HANDLE_IMAGE = NDalicPINVOKE.TextField_Property_GRAB_HANDLE_IMAGE_get();
1201             internal static readonly int GRAB_HANDLE_PRESSED_IMAGE = NDalicPINVOKE.TextField_Property_GRAB_HANDLE_PRESSED_IMAGE_get();
1202             internal static readonly int SCROLL_THRESHOLD = NDalicPINVOKE.TextField_Property_SCROLL_THRESHOLD_get();
1203             internal static readonly int SCROLL_SPEED = NDalicPINVOKE.TextField_Property_SCROLL_SPEED_get();
1204             internal static readonly int SELECTION_HANDLE_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_IMAGE_LEFT_get();
1205             internal static readonly int SELECTION_HANDLE_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_IMAGE_RIGHT_get();
1206             internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_PRESSED_IMAGE_LEFT_get();
1207             internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT_get();
1208             internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_MARKER_IMAGE_LEFT_get();
1209             internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_MARKER_IMAGE_RIGHT_get();
1210             internal static readonly int SELECTION_HIGHLIGHT_COLOR = NDalicPINVOKE.TextField_Property_SELECTION_HIGHLIGHT_COLOR_get();
1211             internal static readonly int DECORATION_BOUNDING_BOX = NDalicPINVOKE.TextField_Property_DECORATION_BOUNDING_BOX_get();
1212             internal static readonly int INPUT_METHOD_SETTINGS = NDalicPINVOKE.TextField_Property_INPUT_METHOD_SETTINGS_get();
1213             internal static readonly int INPUT_COLOR = NDalicPINVOKE.TextField_Property_INPUT_COLOR_get();
1214             internal static readonly int ENABLE_MARKUP = NDalicPINVOKE.TextField_Property_ENABLE_MARKUP_get();
1215             internal static readonly int INPUT_FONT_FAMILY = NDalicPINVOKE.TextField_Property_INPUT_FONT_FAMILY_get();
1216             internal static readonly int INPUT_FONT_STYLE = NDalicPINVOKE.TextField_Property_INPUT_FONT_STYLE_get();
1217             internal static readonly int INPUT_POINT_SIZE = NDalicPINVOKE.TextField_Property_INPUT_POINT_SIZE_get();
1218             internal static readonly int UNDERLINE = NDalicPINVOKE.TextField_Property_UNDERLINE_get();
1219             internal static readonly int INPUT_UNDERLINE = NDalicPINVOKE.TextField_Property_INPUT_UNDERLINE_get();
1220             internal static readonly int SHADOW = NDalicPINVOKE.TextField_Property_SHADOW_get();
1221             internal static readonly int INPUT_SHADOW = NDalicPINVOKE.TextField_Property_INPUT_SHADOW_get();
1222             internal static readonly int EMBOSS = NDalicPINVOKE.TextField_Property_EMBOSS_get();
1223             internal static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextField_Property_INPUT_EMBOSS_get();
1224             internal static readonly int OUTLINE = NDalicPINVOKE.TextField_Property_OUTLINE_get();
1225             internal static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextField_Property_INPUT_OUTLINE_get();
1226             internal static readonly int HIDDEN_INPUT_SETTINGS = NDalicManualPINVOKE.TextField_Property_HIDDEN_INPUT_SETTINGS_get();
1227             internal static readonly int PIXEL_SIZE = NDalicManualPINVOKE.TextField_Property_PIXEL_SIZE_get();
1228             internal static readonly int ENABLE_SELECTION = NDalicManualPINVOKE.TextField_Property_ENABLE_SELECTION_get();
1229             internal static readonly int PLACEHOLDER = NDalicManualPINVOKE.TextField_Property_PLACEHOLDER_get();
1230             internal static readonly int ELLIPSIS = NDalicManualPINVOKE.TextField_Property_ELLIPSIS_get();
1231             internal static readonly int ENABLE_SHIFT_SELECTION = NDalicManualPINVOKE.TextField_Property_ENABLE_SHIFT_SELECTION_get();
1232         }
1233
1234         internal class InputStyle
1235         {
1236             internal enum Mask
1237             {
1238                 None = 0x0000,
1239                 Color = 0x0001,
1240                 FontFamily = 0x0002,
1241                 PointSize = 0x0004,
1242                 FontStyle = 0x0008,
1243                 Underline = 0x0010,
1244                 Shadow = 0x0020,
1245                 Emboss = 0x0040,
1246                 Outline = 0x0080
1247             }
1248
1249         }
1250
1251         /// <summary>
1252         /// Creates the TextField control.
1253         /// </summary>
1254         /// <since_tizen> 3 </since_tizen>
1255         public TextField() : this(NDalicPINVOKE.TextField_New(), true)
1256         {
1257             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1258         }
1259
1260         internal override bool IsCreateByXaml
1261         {
1262             get
1263             {
1264                 return base.IsCreateByXaml;
1265             }
1266             set
1267             {
1268                 base.IsCreateByXaml = value;
1269
1270                 if (value == true)
1271                 {
1272                     this.TextChanged += (obj, e) =>
1273                     {
1274                         this.Text = this.Text;
1275                     };
1276                 }
1277             }
1278         }
1279
1280         internal TextField(TextField handle) : this(NDalicPINVOKE.new_TextField__SWIG_1(TextField.getCPtr(handle)), true)
1281         {
1282             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1283         }
1284
1285         /// <summary>
1286         /// Get the InputMethodContext instance.
1287         /// </summary>
1288         /// <returns>The InputMethodContext instance.</returns>
1289         public InputMethodContext GetInputMethodContext() {
1290             InputMethodContext ret = new InputMethodContext(NDalicPINVOKE.TextField_GetInputMethodContext(swigCPtr), true);
1291             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1292             return ret;
1293         }
1294
1295         internal TextFieldSignal TextChangedSignal()
1296         {
1297             TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_TextChangedSignal(swigCPtr), false);
1298             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1299             return ret;
1300         }
1301
1302         internal TextFieldSignal MaxLengthReachedSignal()
1303         {
1304             TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_MaxLengthReachedSignal(swigCPtr), false);
1305             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1306             return ret;
1307         }
1308
1309         internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t InputStyleChangedSignal()
1310         {
1311             SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t ret = new SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t(NDalicPINVOKE.TextField_InputStyleChangedSignal(swigCPtr), false);
1312             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1313             return ret;
1314         }
1315
1316         internal enum ExceedPolicyType
1317         {
1318             ExceedPolicyOriginal,
1319             ExceedPolicyClip
1320         }
1321
1322         /// <summary>
1323         /// The TranslatableText property.<br />
1324         /// The text can set the SID value.<br />
1325         /// </summary>
1326         /// <exception cref='ArgumentNullException'>
1327         /// ResourceManager about multilingual is null.
1328         /// </exception>
1329         /// <since_tizen> 4 </since_tizen>
1330         public string TranslatableText
1331         {
1332             get
1333             {
1334                 return textFieldTextSid;
1335             }
1336             set
1337             {
1338                 if (NUIApplication.MultilingualResourceManager == null)
1339                 {
1340                     throw new ArgumentNullException("ResourceManager about multilingual is null");
1341                 }
1342                 textFieldTextSid = value;
1343                 Text = SetTranslatable(textFieldTextSid);
1344                 NotifyPropertyChanged();
1345             }
1346         }
1347         /// <summary>
1348         /// The TranslatablePlaceholderText property.<br />
1349         /// The text can set the SID value.<br />
1350         /// </summary>
1351         /// <exception cref='ArgumentNullException'>
1352         /// ResourceManager about multilingual is null.
1353         /// </exception>
1354         /// <since_tizen> 4 </since_tizen>
1355         public string TranslatablePlaceholderText
1356         {
1357             get
1358             {
1359                 return textFieldPlaceHolderTextSid;
1360             }
1361             set
1362             {
1363                 if (NUIApplication.MultilingualResourceManager == null)
1364                 {
1365                     throw new ArgumentNullException("ResourceManager about multilingual is null");
1366                 }
1367                 textFieldPlaceHolderTextSid = value;
1368                 PlaceholderText = SetTranslatable(textFieldPlaceHolderTextSid);
1369                 NotifyPropertyChanged();
1370             }
1371         }
1372         private string SetTranslatable(string textFieldSid)
1373         {
1374             string translatableText = null;
1375             translatableText = NUIApplication.MultilingualResourceManager?.GetString(textFieldSid, new CultureInfo(SystemSettings.LocaleLanguage.Replace("_", "-")));
1376             if (translatableText != null)
1377             {
1378                 if (systemlangTextFlag == false)
1379                 {
1380                     SystemSettings.LocaleLanguageChanged += new WeakEventHandler<LocaleLanguageChangedEventArgs>(SystemSettings_LocaleLanguageChanged).Handler;
1381                     systemlangTextFlag = true;
1382                 }
1383                 return translatableText;
1384             }
1385             else
1386             {
1387                 translatableText = "";
1388                 return translatableText;
1389             }
1390         }
1391         private void SystemSettings_LocaleLanguageChanged(object sender, LocaleLanguageChangedEventArgs e)
1392         {
1393             if (textFieldTextSid != null)
1394             {
1395                 Text = NUIApplication.MultilingualResourceManager?.GetString(textFieldTextSid, new CultureInfo(e.Value.Replace("_", "-")));
1396             }
1397             if (textFieldPlaceHolderTextSid != null)
1398             {
1399                 PlaceholderText = NUIApplication.MultilingualResourceManager?.GetString(textFieldPlaceHolderTextSid, new CultureInfo(e.Value.Replace("_", "-")));
1400             }
1401         }
1402         /// <summary>
1403         /// The Text property.
1404         /// </summary>
1405         /// <since_tizen> 3 </since_tizen>
1406         public string Text
1407         {
1408             get
1409             {
1410                 return (string)GetValue(TextProperty);
1411             }
1412             set
1413             {
1414                 SetValueAndForceSendChangeSignal(TextProperty, value);
1415                 NotifyPropertyChanged();
1416             }
1417         }
1418
1419         /// <summary>
1420         /// The PlaceholderText property.
1421         /// </summary>
1422         /// <since_tizen> 3 </since_tizen>
1423         public string PlaceholderText
1424         {
1425             get
1426             {
1427                 return (string)GetValue(PlaceholderTextProperty);
1428             }
1429             set
1430             {
1431                 SetValue(PlaceholderTextProperty, value);
1432                 NotifyPropertyChanged();
1433             }
1434         }
1435
1436         /// <summary>
1437         /// The PlaceholderTextFocused property.
1438         /// </summary>
1439         /// <since_tizen> 3 </since_tizen>
1440         public string PlaceholderTextFocused
1441         {
1442             get
1443             {
1444                 return (string)GetValue(PlaceholderTextFocusedProperty);
1445             }
1446             set
1447             {
1448                 SetValue(PlaceholderTextFocusedProperty, value);
1449                 NotifyPropertyChanged();
1450             }
1451         }
1452
1453         /// <summary>
1454         /// The FontFamily property.
1455         /// </summary>
1456         /// <since_tizen> 3 </since_tizen>
1457         public string FontFamily
1458         {
1459             get
1460             {
1461                 return (string)GetValue(FontFamilyProperty);
1462             }
1463             set
1464             {
1465                 SetValue(FontFamilyProperty, value);
1466                 NotifyPropertyChanged();
1467             }
1468         }
1469
1470         /// <summary>
1471         /// The FontStyle property.
1472         /// </summary>
1473         /// <since_tizen> 3 </since_tizen>
1474         public PropertyMap FontStyle
1475         {
1476             get
1477             {
1478                 return (PropertyMap)GetValue(FontStyleProperty);
1479             }
1480             set
1481             {
1482                 SetValue(FontStyleProperty, value);
1483                 NotifyPropertyChanged();
1484             }
1485         }
1486
1487         /// <summary>
1488         /// The PointSize property.
1489         /// </summary>
1490         /// <since_tizen> 3 </since_tizen>
1491         public float PointSize
1492         {
1493             get
1494             {
1495                 return (float)GetValue(PointSizeProperty);
1496             }
1497             set
1498             {
1499                 SetValue(PointSizeProperty, value);
1500                 NotifyPropertyChanged();
1501             }
1502         }
1503
1504         /// <summary>
1505         /// The MaxLength property.
1506         /// </summary>
1507         /// <since_tizen> 3 </since_tizen>
1508         public int MaxLength
1509         {
1510             get
1511             {
1512                 return (int)GetValue(MaxLengthProperty);
1513             }
1514             set
1515             {
1516                 SetValue(MaxLengthProperty, value);
1517                 NotifyPropertyChanged();
1518             }
1519         }
1520
1521         /// <summary>
1522         /// The ExceedPolicy property.
1523         /// </summary>
1524         /// <since_tizen> 3 </since_tizen>
1525         public int ExceedPolicy
1526         {
1527             get
1528             {
1529                 return (int)GetValue(ExceedPolicyProperty);
1530             }
1531             set
1532             {
1533                 SetValue(ExceedPolicyProperty, value);
1534                 NotifyPropertyChanged();
1535             }
1536         }
1537
1538         /// <summary>
1539         /// The HorizontalAlignment property.
1540         /// </summary>
1541         /// <since_tizen> 3 </since_tizen>
1542         public HorizontalAlignment HorizontalAlignment
1543         {
1544             get
1545             {
1546                 return (HorizontalAlignment)GetValue(HorizontalAlignmentProperty);
1547             }
1548             set
1549             {
1550                 SetValue(HorizontalAlignmentProperty, value);
1551                 NotifyPropertyChanged();
1552             }
1553         }
1554
1555         /// <summary>
1556         /// The VerticalAlignment property.
1557         /// </summary>
1558         /// <since_tizen> 3 </since_tizen>
1559         public VerticalAlignment VerticalAlignment
1560         {
1561             get
1562             {
1563                 return (VerticalAlignment)GetValue(VerticalAlignmentProperty);
1564             }
1565             set
1566             {
1567                 SetValue(VerticalAlignmentProperty, value);
1568                 NotifyPropertyChanged();
1569                 NotifyPropertyChanged();
1570             }
1571         }
1572
1573         /// <summary>
1574         /// The TextColor property.
1575         /// </summary>
1576         /// <since_tizen> 3 </since_tizen>
1577         public Color TextColor
1578         {
1579             get
1580             {
1581                 return (Color)GetValue(TextColorProperty);
1582             }
1583             set
1584             {
1585                 SetValue(TextColorProperty, value);
1586                 NotifyPropertyChanged();
1587             }
1588         }
1589
1590         /// <summary>
1591         /// The PlaceholderTextColor property.
1592         /// </summary>
1593         /// <since_tizen> 3 </since_tizen>
1594         public Vector4 PlaceholderTextColor
1595         {
1596             get
1597             {
1598                 return (Vector4)GetValue(PlaceholderTextColorProperty);
1599             }
1600             set
1601             {
1602                 SetValue(PlaceholderTextColorProperty, value);
1603                 NotifyPropertyChanged();
1604             }
1605         }
1606
1607         /// <summary>
1608         /// The ShadowOffset property.
1609         /// </summary>
1610         /// <since_tizen> 3 </since_tizen>
1611         public Vector2 ShadowOffset
1612         {
1613             get
1614             {
1615                 return (Vector2)GetValue(ShadowOffsetProperty);
1616             }
1617             set
1618             {
1619                 SetValue(ShadowOffsetProperty, value);
1620                 NotifyPropertyChanged();
1621             }
1622         }
1623
1624         /// <summary>
1625         /// The ShadowColor property.
1626         /// </summary>
1627         /// <since_tizen> 3 </since_tizen>
1628         public Vector4 ShadowColor
1629         {
1630             get
1631             {
1632                 return (Vector4)GetValue(ShadowColorProperty);
1633             }
1634             set
1635             {
1636                 SetValue(ShadowColorProperty, value);
1637                 NotifyPropertyChanged();
1638             }
1639         }
1640
1641         /// <summary>
1642         /// The PrimaryCursorColor property.
1643         /// </summary>
1644         /// <since_tizen> 3 </since_tizen>
1645         public Vector4 PrimaryCursorColor
1646         {
1647             get
1648             {
1649                 return (Vector4)GetValue(PrimaryCursorColorProperty);
1650             }
1651             set
1652             {
1653                 SetValue(PrimaryCursorColorProperty, value);
1654                 NotifyPropertyChanged();
1655             }
1656         }
1657
1658         /// <summary>
1659         /// The SecondaryCursorColor property.
1660         /// </summary>
1661         /// <since_tizen> 3 </since_tizen>
1662         public Vector4 SecondaryCursorColor
1663         {
1664             get
1665             {
1666                 return (Vector4)GetValue(SecondaryCursorColorProperty);
1667             }
1668             set
1669             {
1670                 SetValue(SecondaryCursorColorProperty, value);
1671                 NotifyPropertyChanged();
1672             }
1673         }
1674
1675         /// <summary>
1676         /// The EnableCursorBlink property.
1677         /// </summary>
1678         /// <since_tizen> 3 </since_tizen>
1679         public bool EnableCursorBlink
1680         {
1681             get
1682             {
1683                 return (bool)GetValue(EnableCursorBlinkProperty);
1684             }
1685             set
1686             {
1687                 SetValue(EnableCursorBlinkProperty, value);
1688                 NotifyPropertyChanged();
1689             }
1690         }
1691
1692         /// <summary>
1693         /// The CursorBlinkInterval property.
1694         /// </summary>
1695         /// <since_tizen> 3 </since_tizen>
1696         public float CursorBlinkInterval
1697         {
1698             get
1699             {
1700                 return (float)GetValue(CursorBlinkIntervalProperty);
1701             }
1702             set
1703             {
1704                 SetValue(CursorBlinkIntervalProperty, value);
1705                 NotifyPropertyChanged();
1706             }
1707         }
1708
1709         /// <summary>
1710         /// The CursorBlinkDuration property.
1711         /// </summary>
1712         /// <since_tizen> 3 </since_tizen>
1713         public float CursorBlinkDuration
1714         {
1715             get
1716             {
1717                 return (float)GetValue(CursorBlinkDurationProperty);
1718             }
1719             set
1720             {
1721                 SetValue(CursorBlinkDurationProperty, value);
1722                 NotifyPropertyChanged();
1723             }
1724         }
1725
1726         /// <summary>
1727         /// The CursorWidth property.
1728         /// </summary>
1729         /// <since_tizen> 3 </since_tizen>
1730         public int CursorWidth
1731         {
1732             get
1733             {
1734                 return (int)GetValue(CursorWidthProperty);
1735             }
1736             set
1737             {
1738                 SetValue(CursorWidthProperty, value);
1739                 NotifyPropertyChanged();
1740             }
1741         }
1742
1743         /// <summary>
1744         /// The GrabHandleImage property.
1745         /// </summary>
1746         /// <since_tizen> 3 </since_tizen>
1747         public string GrabHandleImage
1748         {
1749             get
1750             {
1751                 return (string)GetValue(GrabHandleImageProperty);
1752             }
1753             set
1754             {
1755                 SetValue(GrabHandleImageProperty, value);
1756                 NotifyPropertyChanged();
1757             }
1758         }
1759
1760         /// <summary>
1761         /// The GrabHandlePressedImage property.
1762         /// </summary>
1763         /// <since_tizen> 3 </since_tizen>
1764         public string GrabHandlePressedImage
1765         {
1766             get
1767             {
1768                 return (string)GetValue(GrabHandlePressedImageProperty);
1769             }
1770             set
1771             {
1772                 SetValue(GrabHandlePressedImageProperty, value);
1773                 NotifyPropertyChanged();
1774             }
1775         }
1776
1777         /// <summary>
1778         /// The ScrollThreshold property.
1779         /// </summary>
1780         /// <since_tizen> 3 </since_tizen>
1781         public float ScrollThreshold
1782         {
1783             get
1784             {
1785                 return (float)GetValue(ScrollThresholdProperty);
1786             }
1787             set
1788             {
1789                 SetValue(ScrollThresholdProperty, value);
1790                 NotifyPropertyChanged();
1791             }
1792         }
1793
1794         /// <summary>
1795         /// The ScrollSpeed property.
1796         /// </summary>
1797         /// <since_tizen> 3 </since_tizen>
1798         public float ScrollSpeed
1799         {
1800             get
1801             {
1802                 return (float)GetValue(ScrollSpeedProperty);
1803             }
1804             set
1805             {
1806                 SetValue(ScrollSpeedProperty, value);
1807                 NotifyPropertyChanged();
1808             }
1809         }
1810
1811         /// <summary>
1812         /// The SelectionHandleImageLeft property.
1813         /// </summary>
1814         /// <since_tizen> 3 </since_tizen>
1815         public PropertyMap SelectionHandleImageLeft
1816         {
1817             get
1818             {
1819                 return (PropertyMap)GetValue(SelectionHandleImageLeftProperty);
1820             }
1821             set
1822             {
1823                 SetValue(SelectionHandleImageLeftProperty, value);
1824                 NotifyPropertyChanged();
1825             }
1826         }
1827
1828         /// <summary>
1829         /// The SelectionHandleImageRight property.
1830         /// </summary>
1831         /// <since_tizen> 3 </since_tizen>
1832         public PropertyMap SelectionHandleImageRight
1833         {
1834             get
1835             {
1836                 return (PropertyMap)GetValue(SelectionHandleImageRightProperty);
1837             }
1838             set
1839             {
1840                 SetValue(SelectionHandleImageRightProperty, value);
1841                 NotifyPropertyChanged();
1842             }
1843         }
1844
1845         /// <summary>
1846         /// The SelectionHandlePressedImageLeft property.
1847         /// </summary>
1848         /// <since_tizen> 3 </since_tizen>
1849         public PropertyMap SelectionHandlePressedImageLeft
1850         {
1851             get
1852             {
1853                 return (PropertyMap)GetValue(SelectionHandlePressedImageLeftProperty);
1854             }
1855             set
1856             {
1857                 SetValue(SelectionHandlePressedImageLeftProperty, value);
1858                 NotifyPropertyChanged();
1859             }
1860         }
1861
1862         /// <summary>
1863         /// The SelectionHandlePressedImageRight property.
1864         /// </summary>
1865         /// <since_tizen> 3 </since_tizen>
1866         public PropertyMap SelectionHandlePressedImageRight
1867         {
1868             get
1869             {
1870                 return (PropertyMap)GetValue(SelectionHandlePressedImageRightProperty);
1871             }
1872             set
1873             {
1874                 SetValue(SelectionHandlePressedImageRightProperty, value);
1875                 NotifyPropertyChanged();
1876             }
1877         }
1878
1879         /// <summary>
1880         /// The SelectionHandleMarkerImageLeft property.
1881         /// </summary>
1882         /// <since_tizen> 3 </since_tizen>
1883         public PropertyMap SelectionHandleMarkerImageLeft
1884         {
1885             get
1886             {
1887                 return (PropertyMap)GetValue(SelectionHandleMarkerImageLeftProperty);
1888             }
1889             set
1890             {
1891                 SetValue(SelectionHandleMarkerImageLeftProperty, value);
1892                 NotifyPropertyChanged();
1893             }
1894         }
1895
1896         /// <summary>
1897         /// The SelectionHandleMarkerImageRight property.
1898         /// </summary>
1899         /// <since_tizen> 3 </since_tizen>
1900         public PropertyMap SelectionHandleMarkerImageRight
1901         {
1902             get
1903             {
1904                 return (PropertyMap)GetValue(SelectionHandleMarkerImageRightProperty);
1905             }
1906             set
1907             {
1908                 SetValue(SelectionHandleMarkerImageRightProperty, value);
1909                 NotifyPropertyChanged();
1910             }
1911         }
1912
1913         /// <summary>
1914         /// The SelectionHighlightColor property.
1915         /// </summary>
1916         /// <since_tizen> 3 </since_tizen>
1917         public Vector4 SelectionHighlightColor
1918         {
1919             get
1920             {
1921                 return (Vector4)GetValue(SelectionHighlightColorProperty);
1922             }
1923             set
1924             {
1925                 SetValue(SelectionHighlightColorProperty, value);
1926                 NotifyPropertyChanged();
1927             }
1928         }
1929
1930         /// <summary>
1931         /// The DecorationBoundingBox property.
1932         /// </summary>
1933         /// <since_tizen> 3 </since_tizen>
1934         public Rectangle DecorationBoundingBox
1935         {
1936             get
1937             {
1938                 return (Rectangle)GetValue(DecorationBoundingBoxProperty);
1939             }
1940             set
1941             {
1942                 SetValue(DecorationBoundingBoxProperty, value);
1943                 NotifyPropertyChanged();
1944             }
1945         }
1946
1947         /// <summary>
1948         /// The InputMethodSettings property.
1949         /// </summary>
1950         /// <since_tizen> 3 </since_tizen>
1951         public PropertyMap InputMethodSettings
1952         {
1953             get
1954             {
1955                 return (PropertyMap)GetValue(InputMethodSettingsProperty);
1956             }
1957             set
1958             {
1959                 SetValue(InputMethodSettingsProperty, value);
1960                 NotifyPropertyChanged();
1961             }
1962         }
1963
1964         /// <summary>
1965         /// The InputColor property.
1966         /// </summary>
1967         /// <since_tizen> 3 </since_tizen>
1968         public Vector4 InputColor
1969         {
1970             get
1971             {
1972                 return (Vector4)GetValue(InputColorProperty);
1973             }
1974             set
1975             {
1976                 SetValue(InputColorProperty, value);
1977                 NotifyPropertyChanged();
1978             }
1979         }
1980
1981         /// <summary>
1982         /// The EnableMarkup property.
1983         /// </summary>
1984         /// <since_tizen> 3 </since_tizen>
1985         public bool EnableMarkup
1986         {
1987             get
1988             {
1989                 return (bool)GetValue(EnableMarkupProperty);
1990             }
1991             set
1992             {
1993                 SetValue(EnableMarkupProperty, value);
1994                 NotifyPropertyChanged();
1995             }
1996         }
1997
1998         /// <summary>
1999         /// The InputFontFamily property.
2000         /// </summary>
2001         /// <since_tizen> 3 </since_tizen>
2002         public string InputFontFamily
2003         {
2004             get
2005             {
2006                 return (string)GetValue(InputFontFamilyProperty);
2007             }
2008             set
2009             {
2010                 SetValue(InputFontFamilyProperty, value);
2011                 NotifyPropertyChanged();
2012             }
2013         }
2014
2015         /// <summary>
2016         /// The InputFontStyle property.
2017         /// </summary>
2018         /// <since_tizen> 3 </since_tizen>
2019         public PropertyMap InputFontStyle
2020         {
2021             get
2022             {
2023                 return (PropertyMap)GetValue(InputFontStyleProperty);
2024             }
2025             set
2026             {
2027                 SetValue(InputFontStyleProperty, value);
2028                 NotifyPropertyChanged();
2029             }
2030         }
2031
2032         /// <summary>
2033         /// The InputPointSize property.
2034         /// </summary>
2035         /// <since_tizen> 3 </since_tizen>
2036         public float InputPointSize
2037         {
2038             get
2039             {
2040                 return (float)GetValue(InputPointSizeProperty);
2041             }
2042             set
2043             {
2044                 SetValue(InputPointSizeProperty, value);
2045                 NotifyPropertyChanged();
2046             }
2047         }
2048
2049         /// <summary>
2050         /// The Underline property.
2051         /// </summary>
2052         /// <since_tizen> 3 </since_tizen>
2053         public PropertyMap Underline
2054         {
2055             get
2056             {
2057                 return (PropertyMap)GetValue(UnderlineProperty);
2058             }
2059             set
2060             {
2061                 SetValue(UnderlineProperty, value);
2062                 NotifyPropertyChanged();
2063             }
2064         }
2065
2066         /// <summary>
2067         /// The InputUnderline property.
2068         /// </summary>
2069         /// <since_tizen> 3 </since_tizen>
2070         public string InputUnderline
2071         {
2072             get
2073             {
2074                 return (string)GetValue(InputUnderlineProperty);
2075             }
2076             set
2077             {
2078                 SetValue(InputUnderlineProperty, value);
2079                 NotifyPropertyChanged();
2080             }
2081         }
2082
2083         /// <summary>
2084         /// The Shadow property.
2085         /// </summary>
2086         /// <since_tizen> 3 </since_tizen>
2087         public PropertyMap Shadow
2088         {
2089             get
2090             {
2091                 return (PropertyMap)GetValue(ShadowProperty);
2092             }
2093             set
2094             {
2095                 SetValue(ShadowProperty, value);
2096                 NotifyPropertyChanged();
2097             }
2098         }
2099
2100         /// <summary>
2101         /// The InputShadow property.
2102         /// </summary>
2103         /// <since_tizen> 3 </since_tizen>
2104         public string InputShadow
2105         {
2106             get
2107             {
2108                 return (string)GetValue(InputShadowProperty);
2109             }
2110             set
2111             {
2112                 SetValue(InputShadowProperty, value);
2113                 NotifyPropertyChanged();
2114             }
2115         }
2116
2117         /// <summary>
2118         /// The Emboss property.
2119         /// </summary>
2120         /// <since_tizen> 3 </since_tizen>
2121         public string Emboss
2122         {
2123             get
2124             {
2125                 return (string)GetValue(EmbossProperty);
2126             }
2127             set
2128             {
2129                 SetValue(EmbossProperty, value);
2130                 NotifyPropertyChanged();
2131             }
2132         }
2133
2134         /// <summary>
2135         /// The InputEmboss property.
2136         /// </summary>
2137         /// <since_tizen> 3 </since_tizen>
2138         public string InputEmboss
2139         {
2140             get
2141             {
2142                 return (string)GetValue(InputEmbossProperty);
2143             }
2144             set
2145             {
2146                 SetValue(InputEmbossProperty, value);
2147                 NotifyPropertyChanged();
2148             }
2149         }
2150
2151         /// <summary>
2152         /// The Outline property.
2153         /// </summary>
2154         /// <since_tizen> 3 </since_tizen>
2155         public PropertyMap Outline
2156         {
2157             get
2158             {
2159                 return (PropertyMap)GetValue(OutlineProperty);
2160             }
2161             set
2162             {
2163                 SetValue(OutlineProperty, value);
2164                 NotifyPropertyChanged();
2165             }
2166         }
2167
2168         /// <summary>
2169         /// The InputOutline property.
2170         /// </summary>
2171         /// <since_tizen> 3 </since_tizen>
2172         public string InputOutline
2173         {
2174             get
2175             {
2176                 return (string)GetValue(InputOutlineProperty);
2177             }
2178             set
2179             {
2180                 SetValue(InputOutlineProperty, value);
2181                 NotifyPropertyChanged();
2182             }
2183         }
2184
2185         /// <summary>
2186         /// The HiddenInputSettings property.
2187         /// </summary>
2188         /// <since_tizen> 3 </since_tizen>
2189         public Tizen.NUI.PropertyMap HiddenInputSettings
2190         {
2191             get
2192             {
2193                 return (PropertyMap)GetValue(HiddenInputSettingsProperty);
2194             }
2195             set
2196             {
2197                 SetValue(HiddenInputSettingsProperty, value);
2198                 NotifyPropertyChanged();
2199             }
2200         }
2201
2202         /// <summary>
2203         /// The PixelSize property.
2204         /// </summary>
2205         /// <since_tizen> 3 </since_tizen>
2206         public float PixelSize
2207         {
2208             get
2209             {
2210                 return (float)GetValue(PixelSizeProperty);
2211             }
2212             set
2213             {
2214                 SetValue(PixelSizeProperty, value);
2215                 NotifyPropertyChanged();
2216             }
2217         }
2218
2219         /// <summary>
2220         /// The Enable selection property.
2221         /// </summary>
2222         /// <since_tizen> 3 </since_tizen>
2223         public bool EnableSelection
2224         {
2225             get
2226             {
2227                 return (bool)GetValue(EnableSelectionProperty);
2228             }
2229             set
2230             {
2231                 SetValue(EnableSelectionProperty, value);
2232                 NotifyPropertyChanged();
2233             }
2234         }
2235
2236         /// <summary>
2237         /// The Placeholder property.
2238         /// Gets or sets the placeholder: text, color, font family, font style, point size, and pixel size.
2239         /// </summary>
2240         /// <example>
2241         /// The following example demonstrates how to set the Placeholder property.
2242         /// <code>
2243         /// PropertyMap propertyMap = new PropertyMap();
2244         /// propertyMap.Add("text", new PropertyValue("Setting Placeholder Text"));
2245         /// propertyMap.Add("textFocused", new PropertyValue("Setting Placeholder Text Focused"));
2246         /// propertyMap.Add("color", new PropertyValue(Color.Red));
2247         /// propertyMap.Add("fontFamily", new PropertyValue("Arial"));
2248         /// propertyMap.Add("pointSize", new PropertyValue(12.0f));
2249         ///
2250         /// PropertyMap fontStyleMap = new PropertyMap();
2251         /// fontStyleMap.Add("weight", new PropertyValue("bold"));
2252         /// fontStyleMap.Add("width", new PropertyValue("condensed"));
2253         /// fontStyleMap.Add("slant", new PropertyValue("italic"));
2254         /// propertyMap.Add("fontStyle", new PropertyValue(fontStyleMap));
2255         ///
2256         /// TextField field = new TextField();
2257         /// field.Placeholder = propertyMap;
2258         /// </code>
2259         /// </example>
2260         /// <since_tizen> 3 </since_tizen>
2261         public Tizen.NUI.PropertyMap Placeholder
2262         {
2263             get
2264             {
2265                 return (PropertyMap)GetValue(PlaceholderProperty);
2266             }
2267             set
2268             {
2269                 SetValue(PlaceholderProperty, value);
2270                 NotifyPropertyChanged();
2271             }
2272         }
2273
2274         /// <summary>
2275         /// The Ellipsis property.<br />
2276         /// Enable or disable the ellipsis.<br />
2277         /// Placeholder PropertyMap is used to add ellipsis to placeholder text.
2278         /// </summary>
2279         /// <since_tizen> 4 </since_tizen>
2280         public bool Ellipsis
2281         {
2282             get
2283             {
2284                 return (bool)GetValue(EllipsisProperty);
2285             }
2286             set
2287             {
2288                 SetValue(EllipsisProperty, value);
2289                 NotifyPropertyChanged();
2290             }
2291         }
2292
2293         /// <summary>
2294         /// Enables Text selection using Shift key.
2295         /// </summary>
2296         /// <since_tizen> 5 </since_tizen>
2297         /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2298         [EditorBrowsable(EditorBrowsableState.Never)]
2299         public bool EnableShiftSelection
2300         {
2301             get
2302             {
2303                 return (bool)GetValue(EnableShiftSelectionProperty);
2304             }
2305             set
2306             {
2307                 SetValue(EnableShiftSelectionProperty, value);
2308                 NotifyPropertyChanged();
2309             }
2310         }
2311     }
2312 }