c00678aaa71993a0bddb8071b0f4dc4cec828bce
[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         private InputMethodContext inputMethodCotext = null;
978
979         internal TextField(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TextField_SWIGUpcast(cPtr), cMemoryOwn)
980         {
981             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
982         }
983
984         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TextField obj)
985         {
986             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
987         }
988
989         /// <summary>
990         /// Dispose.
991         /// </summary>
992         /// <since_tizen> 3 </since_tizen>
993         protected override void Dispose(DisposeTypes type)
994         {
995             if (disposed)
996             {
997                 DisposeQueue.Instance.Add(this);
998                 return;
999             }
1000
1001             if (type == DisposeTypes.Explicit)
1002             {
1003                 //Called by User
1004                 //Release your own managed resources here.
1005                 //You should release all of your own disposable objects here.
1006             }
1007
1008             //Release your own unmanaged resources here.
1009             //You should not access any managed member here except static instance.
1010             //because the execution order of Finalizes is non-deterministic.
1011             if (this.HasBody())
1012             {
1013                 if (_textFieldMaxLengthReachedCallbackDelegate != null)
1014                 {
1015                     this.MaxLengthReachedSignal().Disconnect(_textFieldMaxLengthReachedCallbackDelegate);
1016                 }
1017
1018                 if (_textFieldTextChangedCallbackDelegate != null)
1019                 {
1020                     TextChangedSignal().Disconnect(_textFieldTextChangedCallbackDelegate);
1021                 }
1022             }
1023
1024             if (swigCPtr.Handle != global::System.IntPtr.Zero)
1025             {
1026                 if (swigCMemOwn)
1027                 {
1028                     swigCMemOwn = false;
1029                     inputMethodCotext?.Dispose();
1030                     NDalicPINVOKE.delete_TextField(swigCPtr);
1031                 }
1032                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
1033             }
1034
1035             base.Dispose(type);
1036         }
1037
1038         /// <summary>
1039         /// The TextChanged event arguments.
1040         /// </summary>
1041         /// <since_tizen> 3 </since_tizen>
1042         public class TextChangedEventArgs : EventArgs
1043         {
1044             private TextField _textField;
1045
1046             /// <summary>
1047             /// TextField.
1048             /// </summary>
1049             /// <since_tizen> 3 </since_tizen>
1050             public TextField TextField
1051             {
1052                 get
1053                 {
1054                     return _textField;
1055                 }
1056                 set
1057                 {
1058                     _textField = value;
1059                 }
1060             }
1061         }
1062
1063         /// <summary>
1064         /// The MaxLengthReached event arguments.
1065         /// </summary>
1066         /// <since_tizen> 3 </since_tizen>
1067         public class MaxLengthReachedEventArgs : EventArgs
1068         {
1069             private TextField _textField;
1070
1071             /// <summary>
1072             /// TextField.
1073             /// </summary>
1074             /// <since_tizen> 3 </since_tizen>
1075             public TextField TextField
1076             {
1077                 get
1078                 {
1079                     return _textField;
1080                 }
1081                 set
1082                 {
1083                     _textField = value;
1084                 }
1085             }
1086         }
1087
1088
1089         [UnmanagedFunctionPointer(CallingConvention.StdCall)]
1090         private delegate void TextChangedCallbackDelegate(IntPtr textField);
1091         private EventHandler<TextChangedEventArgs> _textFieldTextChangedEventHandler;
1092         private TextChangedCallbackDelegate _textFieldTextChangedCallbackDelegate;
1093
1094         [UnmanagedFunctionPointer(CallingConvention.StdCall)]
1095         private delegate void MaxLengthReachedCallbackDelegate(IntPtr textField);
1096         private EventHandler<MaxLengthReachedEventArgs> _textFieldMaxLengthReachedEventHandler;
1097         private MaxLengthReachedCallbackDelegate _textFieldMaxLengthReachedCallbackDelegate;
1098
1099         /// <summary>
1100         /// The TextChanged event.
1101         /// </summary>
1102         /// <since_tizen> 3 </since_tizen>
1103         public event EventHandler<TextChangedEventArgs> TextChanged
1104         {
1105             add
1106             {
1107                 if (_textFieldTextChangedEventHandler == null)
1108                 {
1109                     _textFieldTextChangedCallbackDelegate = (OnTextChanged);
1110                     TextChangedSignal().Connect(_textFieldTextChangedCallbackDelegate);
1111                 }
1112                 _textFieldTextChangedEventHandler += value;
1113             }
1114             remove
1115             {
1116                 _textFieldTextChangedEventHandler -= value;
1117                 if (_textFieldTextChangedEventHandler == null && TextChangedSignal().Empty() == false)
1118                 {
1119                     TextChangedSignal().Disconnect(_textFieldTextChangedCallbackDelegate);
1120                 }
1121             }
1122         }
1123
1124         private void OnTextChanged(IntPtr textField)
1125         {
1126             TextChangedEventArgs e = new TextChangedEventArgs();
1127
1128             // Populate all members of "e" (TextChangedEventArgs) with real data
1129             e.TextField = Registry.GetManagedBaseHandleFromNativePtr(textField) as TextField;
1130
1131             if (_textFieldTextChangedEventHandler != null)
1132             {
1133                 //here we send all data to user event handlers
1134                 _textFieldTextChangedEventHandler(this, e);
1135             }
1136
1137         }
1138
1139         /// <summary>
1140         /// The MaxLengthReached event.
1141         /// </summary>
1142         /// <since_tizen> 3 </since_tizen>
1143         public event EventHandler<MaxLengthReachedEventArgs> MaxLengthReached
1144         {
1145             add
1146             {
1147                 if (_textFieldMaxLengthReachedEventHandler == null)
1148                 {
1149                     _textFieldMaxLengthReachedCallbackDelegate = (OnMaxLengthReached);
1150                     MaxLengthReachedSignal().Connect(_textFieldMaxLengthReachedCallbackDelegate);
1151                 }
1152                 _textFieldMaxLengthReachedEventHandler += value;
1153             }
1154             remove
1155             {
1156                 if (_textFieldMaxLengthReachedEventHandler == null && MaxLengthReachedSignal().Empty() == false)
1157                 {
1158                     this.MaxLengthReachedSignal().Disconnect(_textFieldMaxLengthReachedCallbackDelegate);
1159                 }
1160                 _textFieldMaxLengthReachedEventHandler -= value;
1161             }
1162         }
1163
1164         private void OnMaxLengthReached(IntPtr textField)
1165         {
1166             MaxLengthReachedEventArgs e = new MaxLengthReachedEventArgs();
1167
1168             // Populate all members of "e" (MaxLengthReachedEventArgs) with real data
1169             e.TextField = Registry.GetManagedBaseHandleFromNativePtr(textField) as TextField;
1170
1171             if (_textFieldMaxLengthReachedEventHandler != null)
1172             {
1173                 //here we send all data to user event handlers
1174                 _textFieldMaxLengthReachedEventHandler(this, e);
1175             }
1176
1177         }
1178
1179         internal new class Property
1180         {
1181             internal static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextField_Property_RENDERING_BACKEND_get();
1182             internal static readonly int TEXT = NDalicPINVOKE.TextField_Property_TEXT_get();
1183             internal static readonly int PLACEHOLDER_TEXT = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_get();
1184             internal static readonly int PLACEHOLDER_TEXT_FOCUSED = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_FOCUSED_get();
1185             internal static readonly int FONT_FAMILY = NDalicPINVOKE.TextField_Property_FONT_FAMILY_get();
1186             internal static readonly int FONT_STYLE = NDalicPINVOKE.TextField_Property_FONT_STYLE_get();
1187             internal static readonly int POINT_SIZE = NDalicPINVOKE.TextField_Property_POINT_SIZE_get();
1188             internal static readonly int MAX_LENGTH = NDalicPINVOKE.TextField_Property_MAX_LENGTH_get();
1189             internal static readonly int EXCEED_POLICY = NDalicPINVOKE.TextField_Property_EXCEED_POLICY_get();
1190             internal static readonly int HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TextField_Property_HORIZONTAL_ALIGNMENT_get();
1191             internal static readonly int VERTICAL_ALIGNMENT = NDalicPINVOKE.TextField_Property_VERTICAL_ALIGNMENT_get();
1192             internal static readonly int TEXT_COLOR = NDalicPINVOKE.TextField_Property_TEXT_COLOR_get();
1193             internal static readonly int PLACEHOLDER_TEXT_COLOR = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_COLOR_get();
1194             internal static readonly int SHADOW_OFFSET = NDalicPINVOKE.TextField_Property_SHADOW_OFFSET_get();
1195             internal static readonly int SHADOW_COLOR = NDalicPINVOKE.TextField_Property_SHADOW_COLOR_get();
1196             internal static readonly int PRIMARY_CURSOR_COLOR = NDalicPINVOKE.TextField_Property_PRIMARY_CURSOR_COLOR_get();
1197             internal static readonly int SECONDARY_CURSOR_COLOR = NDalicPINVOKE.TextField_Property_SECONDARY_CURSOR_COLOR_get();
1198             internal static readonly int ENABLE_CURSOR_BLINK = NDalicPINVOKE.TextField_Property_ENABLE_CURSOR_BLINK_get();
1199             internal static readonly int CURSOR_BLINK_INTERVAL = NDalicPINVOKE.TextField_Property_CURSOR_BLINK_INTERVAL_get();
1200             internal static readonly int CURSOR_BLINK_DURATION = NDalicPINVOKE.TextField_Property_CURSOR_BLINK_DURATION_get();
1201             internal static readonly int CURSOR_WIDTH = NDalicPINVOKE.TextField_Property_CURSOR_WIDTH_get();
1202             internal static readonly int GRAB_HANDLE_IMAGE = NDalicPINVOKE.TextField_Property_GRAB_HANDLE_IMAGE_get();
1203             internal static readonly int GRAB_HANDLE_PRESSED_IMAGE = NDalicPINVOKE.TextField_Property_GRAB_HANDLE_PRESSED_IMAGE_get();
1204             internal static readonly int SCROLL_THRESHOLD = NDalicPINVOKE.TextField_Property_SCROLL_THRESHOLD_get();
1205             internal static readonly int SCROLL_SPEED = NDalicPINVOKE.TextField_Property_SCROLL_SPEED_get();
1206             internal static readonly int SELECTION_HANDLE_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_IMAGE_LEFT_get();
1207             internal static readonly int SELECTION_HANDLE_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_IMAGE_RIGHT_get();
1208             internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_PRESSED_IMAGE_LEFT_get();
1209             internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT_get();
1210             internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_MARKER_IMAGE_LEFT_get();
1211             internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_MARKER_IMAGE_RIGHT_get();
1212             internal static readonly int SELECTION_HIGHLIGHT_COLOR = NDalicPINVOKE.TextField_Property_SELECTION_HIGHLIGHT_COLOR_get();
1213             internal static readonly int DECORATION_BOUNDING_BOX = NDalicPINVOKE.TextField_Property_DECORATION_BOUNDING_BOX_get();
1214             internal static readonly int INPUT_METHOD_SETTINGS = NDalicPINVOKE.TextField_Property_INPUT_METHOD_SETTINGS_get();
1215             internal static readonly int INPUT_COLOR = NDalicPINVOKE.TextField_Property_INPUT_COLOR_get();
1216             internal static readonly int ENABLE_MARKUP = NDalicPINVOKE.TextField_Property_ENABLE_MARKUP_get();
1217             internal static readonly int INPUT_FONT_FAMILY = NDalicPINVOKE.TextField_Property_INPUT_FONT_FAMILY_get();
1218             internal static readonly int INPUT_FONT_STYLE = NDalicPINVOKE.TextField_Property_INPUT_FONT_STYLE_get();
1219             internal static readonly int INPUT_POINT_SIZE = NDalicPINVOKE.TextField_Property_INPUT_POINT_SIZE_get();
1220             internal static readonly int UNDERLINE = NDalicPINVOKE.TextField_Property_UNDERLINE_get();
1221             internal static readonly int INPUT_UNDERLINE = NDalicPINVOKE.TextField_Property_INPUT_UNDERLINE_get();
1222             internal static readonly int SHADOW = NDalicPINVOKE.TextField_Property_SHADOW_get();
1223             internal static readonly int INPUT_SHADOW = NDalicPINVOKE.TextField_Property_INPUT_SHADOW_get();
1224             internal static readonly int EMBOSS = NDalicPINVOKE.TextField_Property_EMBOSS_get();
1225             internal static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextField_Property_INPUT_EMBOSS_get();
1226             internal static readonly int OUTLINE = NDalicPINVOKE.TextField_Property_OUTLINE_get();
1227             internal static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextField_Property_INPUT_OUTLINE_get();
1228             internal static readonly int HIDDEN_INPUT_SETTINGS = NDalicManualPINVOKE.TextField_Property_HIDDEN_INPUT_SETTINGS_get();
1229             internal static readonly int PIXEL_SIZE = NDalicManualPINVOKE.TextField_Property_PIXEL_SIZE_get();
1230             internal static readonly int ENABLE_SELECTION = NDalicManualPINVOKE.TextField_Property_ENABLE_SELECTION_get();
1231             internal static readonly int PLACEHOLDER = NDalicManualPINVOKE.TextField_Property_PLACEHOLDER_get();
1232             internal static readonly int ELLIPSIS = NDalicManualPINVOKE.TextField_Property_ELLIPSIS_get();
1233             internal static readonly int ENABLE_SHIFT_SELECTION = NDalicManualPINVOKE.TextField_Property_ENABLE_SHIFT_SELECTION_get();
1234         }
1235
1236         internal class InputStyle
1237         {
1238             internal enum Mask
1239             {
1240                 None = 0x0000,
1241                 Color = 0x0001,
1242                 FontFamily = 0x0002,
1243                 PointSize = 0x0004,
1244                 FontStyle = 0x0008,
1245                 Underline = 0x0010,
1246                 Shadow = 0x0020,
1247                 Emboss = 0x0040,
1248                 Outline = 0x0080
1249             }
1250
1251         }
1252
1253         /// <summary>
1254         /// Creates the TextField control.
1255         /// </summary>
1256         /// <since_tizen> 3 </since_tizen>
1257         public TextField() : this(NDalicPINVOKE.TextField_New(), true)
1258         {
1259             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1260         }
1261
1262         internal override bool IsCreateByXaml
1263         {
1264             get
1265             {
1266                 return base.IsCreateByXaml;
1267             }
1268             set
1269             {
1270                 base.IsCreateByXaml = value;
1271
1272                 if (value == true)
1273                 {
1274                     this.TextChanged += (obj, e) =>
1275                     {
1276                         this.Text = this.Text;
1277                     };
1278                 }
1279             }
1280         }
1281
1282         internal TextField(TextField handle) : this(NDalicPINVOKE.new_TextField__SWIG_1(TextField.getCPtr(handle)), true)
1283         {
1284             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1285         }
1286
1287         /// <summary>
1288         /// Get the InputMethodContext instance.
1289         /// </summary>
1290         /// <returns>The InputMethodContext instance.</returns>
1291         public InputMethodContext GetInputMethodContext()
1292         {
1293             if (inputMethodCotext == null)
1294             {
1295                 /*Avoid raising InputMethodContext reference count.*/
1296                 inputMethodCotext = new InputMethodContext(NDalicPINVOKE.TextField_GetInputMethodContext(swigCPtr), true);
1297                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1298             }
1299             return inputMethodCotext;
1300         }
1301
1302         internal TextFieldSignal TextChangedSignal()
1303         {
1304             TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_TextChangedSignal(swigCPtr), false);
1305             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1306             return ret;
1307         }
1308
1309         internal TextFieldSignal MaxLengthReachedSignal()
1310         {
1311             TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_MaxLengthReachedSignal(swigCPtr), false);
1312             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1313             return ret;
1314         }
1315
1316         internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t InputStyleChangedSignal()
1317         {
1318             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);
1319             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1320             return ret;
1321         }
1322
1323         internal enum ExceedPolicyType
1324         {
1325             ExceedPolicyOriginal,
1326             ExceedPolicyClip
1327         }
1328
1329         /// <summary>
1330         /// The TranslatableText property.<br />
1331         /// The text can set the SID value.<br />
1332         /// </summary>
1333         /// <exception cref='ArgumentNullException'>
1334         /// ResourceManager about multilingual is null.
1335         /// </exception>
1336         /// <since_tizen> 4 </since_tizen>
1337         public string TranslatableText
1338         {
1339             get
1340             {
1341                 return textFieldTextSid;
1342             }
1343             set
1344             {
1345                 if (NUIApplication.MultilingualResourceManager == null)
1346                 {
1347                     throw new ArgumentNullException("ResourceManager about multilingual is null");
1348                 }
1349                 textFieldTextSid = value;
1350                 Text = SetTranslatable(textFieldTextSid);
1351                 NotifyPropertyChanged();
1352             }
1353         }
1354         /// <summary>
1355         /// The TranslatablePlaceholderText property.<br />
1356         /// The text can set the SID value.<br />
1357         /// </summary>
1358         /// <exception cref='ArgumentNullException'>
1359         /// ResourceManager about multilingual is null.
1360         /// </exception>
1361         /// <since_tizen> 4 </since_tizen>
1362         public string TranslatablePlaceholderText
1363         {
1364             get
1365             {
1366                 return textFieldPlaceHolderTextSid;
1367             }
1368             set
1369             {
1370                 if (NUIApplication.MultilingualResourceManager == null)
1371                 {
1372                     throw new ArgumentNullException("ResourceManager about multilingual is null");
1373                 }
1374                 textFieldPlaceHolderTextSid = value;
1375                 PlaceholderText = SetTranslatable(textFieldPlaceHolderTextSid);
1376                 NotifyPropertyChanged();
1377             }
1378         }
1379         private string SetTranslatable(string textFieldSid)
1380         {
1381             string translatableText = null;
1382             translatableText = NUIApplication.MultilingualResourceManager?.GetString(textFieldSid, new CultureInfo(SystemSettings.LocaleLanguage.Replace("_", "-")));
1383             if (translatableText != null)
1384             {
1385                 if (systemlangTextFlag == false)
1386                 {
1387                     SystemSettings.LocaleLanguageChanged += new WeakEventHandler<LocaleLanguageChangedEventArgs>(SystemSettings_LocaleLanguageChanged).Handler;
1388                     systemlangTextFlag = true;
1389                 }
1390                 return translatableText;
1391             }
1392             else
1393             {
1394                 translatableText = "";
1395                 return translatableText;
1396             }
1397         }
1398         private void SystemSettings_LocaleLanguageChanged(object sender, LocaleLanguageChangedEventArgs e)
1399         {
1400             if (textFieldTextSid != null)
1401             {
1402                 Text = NUIApplication.MultilingualResourceManager?.GetString(textFieldTextSid, new CultureInfo(e.Value.Replace("_", "-")));
1403             }
1404             if (textFieldPlaceHolderTextSid != null)
1405             {
1406                 PlaceholderText = NUIApplication.MultilingualResourceManager?.GetString(textFieldPlaceHolderTextSid, new CultureInfo(e.Value.Replace("_", "-")));
1407             }
1408         }
1409         /// <summary>
1410         /// The Text property.
1411         /// </summary>
1412         /// <since_tizen> 3 </since_tizen>
1413         public string Text
1414         {
1415             get
1416             {
1417                 return (string)GetValue(TextProperty);
1418             }
1419             set
1420             {
1421                 SetValueAndForceSendChangeSignal(TextProperty, value);
1422                 NotifyPropertyChanged();
1423             }
1424         }
1425
1426         /// <summary>
1427         /// The PlaceholderText property.
1428         /// </summary>
1429         /// <since_tizen> 3 </since_tizen>
1430         public string PlaceholderText
1431         {
1432             get
1433             {
1434                 return (string)GetValue(PlaceholderTextProperty);
1435             }
1436             set
1437             {
1438                 SetValue(PlaceholderTextProperty, value);
1439                 NotifyPropertyChanged();
1440             }
1441         }
1442
1443         /// <summary>
1444         /// The PlaceholderTextFocused property.
1445         /// </summary>
1446         /// <since_tizen> 3 </since_tizen>
1447         public string PlaceholderTextFocused
1448         {
1449             get
1450             {
1451                 return (string)GetValue(PlaceholderTextFocusedProperty);
1452             }
1453             set
1454             {
1455                 SetValue(PlaceholderTextFocusedProperty, value);
1456                 NotifyPropertyChanged();
1457             }
1458         }
1459
1460         /// <summary>
1461         /// The FontFamily property.
1462         /// </summary>
1463         /// <since_tizen> 3 </since_tizen>
1464         public string FontFamily
1465         {
1466             get
1467             {
1468                 return (string)GetValue(FontFamilyProperty);
1469             }
1470             set
1471             {
1472                 SetValue(FontFamilyProperty, value);
1473                 NotifyPropertyChanged();
1474             }
1475         }
1476
1477         /// <summary>
1478         /// The FontStyle property.
1479         /// </summary>
1480         /// <since_tizen> 3 </since_tizen>
1481         public PropertyMap FontStyle
1482         {
1483             get
1484             {
1485                 return (PropertyMap)GetValue(FontStyleProperty);
1486             }
1487             set
1488             {
1489                 SetValue(FontStyleProperty, value);
1490                 NotifyPropertyChanged();
1491             }
1492         }
1493
1494         /// <summary>
1495         /// The PointSize property.
1496         /// </summary>
1497         /// <since_tizen> 3 </since_tizen>
1498         public float PointSize
1499         {
1500             get
1501             {
1502                 return (float)GetValue(PointSizeProperty);
1503             }
1504             set
1505             {
1506                 SetValue(PointSizeProperty, value);
1507                 NotifyPropertyChanged();
1508             }
1509         }
1510
1511         /// <summary>
1512         /// The MaxLength property.
1513         /// </summary>
1514         /// <since_tizen> 3 </since_tizen>
1515         public int MaxLength
1516         {
1517             get
1518             {
1519                 return (int)GetValue(MaxLengthProperty);
1520             }
1521             set
1522             {
1523                 SetValue(MaxLengthProperty, value);
1524                 NotifyPropertyChanged();
1525             }
1526         }
1527
1528         /// <summary>
1529         /// The ExceedPolicy property.
1530         /// </summary>
1531         /// <since_tizen> 3 </since_tizen>
1532         public int ExceedPolicy
1533         {
1534             get
1535             {
1536                 return (int)GetValue(ExceedPolicyProperty);
1537             }
1538             set
1539             {
1540                 SetValue(ExceedPolicyProperty, value);
1541                 NotifyPropertyChanged();
1542             }
1543         }
1544
1545         /// <summary>
1546         /// The HorizontalAlignment property.
1547         /// </summary>
1548         /// <since_tizen> 3 </since_tizen>
1549         public HorizontalAlignment HorizontalAlignment
1550         {
1551             get
1552             {
1553                 return (HorizontalAlignment)GetValue(HorizontalAlignmentProperty);
1554             }
1555             set
1556             {
1557                 SetValue(HorizontalAlignmentProperty, value);
1558                 NotifyPropertyChanged();
1559             }
1560         }
1561
1562         /// <summary>
1563         /// The VerticalAlignment property.
1564         /// </summary>
1565         /// <since_tizen> 3 </since_tizen>
1566         public VerticalAlignment VerticalAlignment
1567         {
1568             get
1569             {
1570                 return (VerticalAlignment)GetValue(VerticalAlignmentProperty);
1571             }
1572             set
1573             {
1574                 SetValue(VerticalAlignmentProperty, value);
1575                 NotifyPropertyChanged();
1576                 NotifyPropertyChanged();
1577             }
1578         }
1579
1580         /// <summary>
1581         /// The TextColor property.
1582         /// </summary>
1583         /// <since_tizen> 3 </since_tizen>
1584         public Color TextColor
1585         {
1586             get
1587             {
1588                 return (Color)GetValue(TextColorProperty);
1589             }
1590             set
1591             {
1592                 SetValue(TextColorProperty, value);
1593                 NotifyPropertyChanged();
1594             }
1595         }
1596
1597         /// <summary>
1598         /// The PlaceholderTextColor property.
1599         /// </summary>
1600         /// <since_tizen> 3 </since_tizen>
1601         public Vector4 PlaceholderTextColor
1602         {
1603             get
1604             {
1605                 return (Vector4)GetValue(PlaceholderTextColorProperty);
1606             }
1607             set
1608             {
1609                 SetValue(PlaceholderTextColorProperty, value);
1610                 NotifyPropertyChanged();
1611             }
1612         }
1613
1614         /// <summary>
1615         /// The ShadowOffset property.
1616         /// </summary>
1617         /// <since_tizen> 3 </since_tizen>
1618         public Vector2 ShadowOffset
1619         {
1620             get
1621             {
1622                 return (Vector2)GetValue(ShadowOffsetProperty);
1623             }
1624             set
1625             {
1626                 SetValue(ShadowOffsetProperty, value);
1627                 NotifyPropertyChanged();
1628             }
1629         }
1630
1631         /// <summary>
1632         /// The ShadowColor property.
1633         /// </summary>
1634         /// <since_tizen> 3 </since_tizen>
1635         public Vector4 ShadowColor
1636         {
1637             get
1638             {
1639                 return (Vector4)GetValue(ShadowColorProperty);
1640             }
1641             set
1642             {
1643                 SetValue(ShadowColorProperty, value);
1644                 NotifyPropertyChanged();
1645             }
1646         }
1647
1648         /// <summary>
1649         /// The PrimaryCursorColor property.
1650         /// </summary>
1651         /// <since_tizen> 3 </since_tizen>
1652         public Vector4 PrimaryCursorColor
1653         {
1654             get
1655             {
1656                 return (Vector4)GetValue(PrimaryCursorColorProperty);
1657             }
1658             set
1659             {
1660                 SetValue(PrimaryCursorColorProperty, value);
1661                 NotifyPropertyChanged();
1662             }
1663         }
1664
1665         /// <summary>
1666         /// The SecondaryCursorColor property.
1667         /// </summary>
1668         /// <since_tizen> 3 </since_tizen>
1669         public Vector4 SecondaryCursorColor
1670         {
1671             get
1672             {
1673                 return (Vector4)GetValue(SecondaryCursorColorProperty);
1674             }
1675             set
1676             {
1677                 SetValue(SecondaryCursorColorProperty, value);
1678                 NotifyPropertyChanged();
1679             }
1680         }
1681
1682         /// <summary>
1683         /// The EnableCursorBlink property.
1684         /// </summary>
1685         /// <since_tizen> 3 </since_tizen>
1686         public bool EnableCursorBlink
1687         {
1688             get
1689             {
1690                 return (bool)GetValue(EnableCursorBlinkProperty);
1691             }
1692             set
1693             {
1694                 SetValue(EnableCursorBlinkProperty, value);
1695                 NotifyPropertyChanged();
1696             }
1697         }
1698
1699         /// <summary>
1700         /// The CursorBlinkInterval property.
1701         /// </summary>
1702         /// <since_tizen> 3 </since_tizen>
1703         public float CursorBlinkInterval
1704         {
1705             get
1706             {
1707                 return (float)GetValue(CursorBlinkIntervalProperty);
1708             }
1709             set
1710             {
1711                 SetValue(CursorBlinkIntervalProperty, value);
1712                 NotifyPropertyChanged();
1713             }
1714         }
1715
1716         /// <summary>
1717         /// The CursorBlinkDuration property.
1718         /// </summary>
1719         /// <since_tizen> 3 </since_tizen>
1720         public float CursorBlinkDuration
1721         {
1722             get
1723             {
1724                 return (float)GetValue(CursorBlinkDurationProperty);
1725             }
1726             set
1727             {
1728                 SetValue(CursorBlinkDurationProperty, value);
1729                 NotifyPropertyChanged();
1730             }
1731         }
1732
1733         /// <summary>
1734         /// The CursorWidth property.
1735         /// </summary>
1736         /// <since_tizen> 3 </since_tizen>
1737         public int CursorWidth
1738         {
1739             get
1740             {
1741                 return (int)GetValue(CursorWidthProperty);
1742             }
1743             set
1744             {
1745                 SetValue(CursorWidthProperty, value);
1746                 NotifyPropertyChanged();
1747             }
1748         }
1749
1750         /// <summary>
1751         /// The GrabHandleImage property.
1752         /// </summary>
1753         /// <since_tizen> 3 </since_tizen>
1754         public string GrabHandleImage
1755         {
1756             get
1757             {
1758                 return (string)GetValue(GrabHandleImageProperty);
1759             }
1760             set
1761             {
1762                 SetValue(GrabHandleImageProperty, value);
1763                 NotifyPropertyChanged();
1764             }
1765         }
1766
1767         /// <summary>
1768         /// The GrabHandlePressedImage property.
1769         /// </summary>
1770         /// <since_tizen> 3 </since_tizen>
1771         public string GrabHandlePressedImage
1772         {
1773             get
1774             {
1775                 return (string)GetValue(GrabHandlePressedImageProperty);
1776             }
1777             set
1778             {
1779                 SetValue(GrabHandlePressedImageProperty, value);
1780                 NotifyPropertyChanged();
1781             }
1782         }
1783
1784         /// <summary>
1785         /// The ScrollThreshold property.
1786         /// </summary>
1787         /// <since_tizen> 3 </since_tizen>
1788         public float ScrollThreshold
1789         {
1790             get
1791             {
1792                 return (float)GetValue(ScrollThresholdProperty);
1793             }
1794             set
1795             {
1796                 SetValue(ScrollThresholdProperty, value);
1797                 NotifyPropertyChanged();
1798             }
1799         }
1800
1801         /// <summary>
1802         /// The ScrollSpeed property.
1803         /// </summary>
1804         /// <since_tizen> 3 </since_tizen>
1805         public float ScrollSpeed
1806         {
1807             get
1808             {
1809                 return (float)GetValue(ScrollSpeedProperty);
1810             }
1811             set
1812             {
1813                 SetValue(ScrollSpeedProperty, value);
1814                 NotifyPropertyChanged();
1815             }
1816         }
1817
1818         /// <summary>
1819         /// The SelectionHandleImageLeft property.
1820         /// </summary>
1821         /// <since_tizen> 3 </since_tizen>
1822         public PropertyMap SelectionHandleImageLeft
1823         {
1824             get
1825             {
1826                 return (PropertyMap)GetValue(SelectionHandleImageLeftProperty);
1827             }
1828             set
1829             {
1830                 SetValue(SelectionHandleImageLeftProperty, value);
1831                 NotifyPropertyChanged();
1832             }
1833         }
1834
1835         /// <summary>
1836         /// The SelectionHandleImageRight property.
1837         /// </summary>
1838         /// <since_tizen> 3 </since_tizen>
1839         public PropertyMap SelectionHandleImageRight
1840         {
1841             get
1842             {
1843                 return (PropertyMap)GetValue(SelectionHandleImageRightProperty);
1844             }
1845             set
1846             {
1847                 SetValue(SelectionHandleImageRightProperty, value);
1848                 NotifyPropertyChanged();
1849             }
1850         }
1851
1852         /// <summary>
1853         /// The SelectionHandlePressedImageLeft property.
1854         /// </summary>
1855         /// <since_tizen> 3 </since_tizen>
1856         public PropertyMap SelectionHandlePressedImageLeft
1857         {
1858             get
1859             {
1860                 return (PropertyMap)GetValue(SelectionHandlePressedImageLeftProperty);
1861             }
1862             set
1863             {
1864                 SetValue(SelectionHandlePressedImageLeftProperty, value);
1865                 NotifyPropertyChanged();
1866             }
1867         }
1868
1869         /// <summary>
1870         /// The SelectionHandlePressedImageRight property.
1871         /// </summary>
1872         /// <since_tizen> 3 </since_tizen>
1873         public PropertyMap SelectionHandlePressedImageRight
1874         {
1875             get
1876             {
1877                 return (PropertyMap)GetValue(SelectionHandlePressedImageRightProperty);
1878             }
1879             set
1880             {
1881                 SetValue(SelectionHandlePressedImageRightProperty, value);
1882                 NotifyPropertyChanged();
1883             }
1884         }
1885
1886         /// <summary>
1887         /// The SelectionHandleMarkerImageLeft property.
1888         /// </summary>
1889         /// <since_tizen> 3 </since_tizen>
1890         public PropertyMap SelectionHandleMarkerImageLeft
1891         {
1892             get
1893             {
1894                 return (PropertyMap)GetValue(SelectionHandleMarkerImageLeftProperty);
1895             }
1896             set
1897             {
1898                 SetValue(SelectionHandleMarkerImageLeftProperty, value);
1899                 NotifyPropertyChanged();
1900             }
1901         }
1902
1903         /// <summary>
1904         /// The SelectionHandleMarkerImageRight property.
1905         /// </summary>
1906         /// <since_tizen> 3 </since_tizen>
1907         public PropertyMap SelectionHandleMarkerImageRight
1908         {
1909             get
1910             {
1911                 return (PropertyMap)GetValue(SelectionHandleMarkerImageRightProperty);
1912             }
1913             set
1914             {
1915                 SetValue(SelectionHandleMarkerImageRightProperty, value);
1916                 NotifyPropertyChanged();
1917             }
1918         }
1919
1920         /// <summary>
1921         /// The SelectionHighlightColor property.
1922         /// </summary>
1923         /// <since_tizen> 3 </since_tizen>
1924         public Vector4 SelectionHighlightColor
1925         {
1926             get
1927             {
1928                 return (Vector4)GetValue(SelectionHighlightColorProperty);
1929             }
1930             set
1931             {
1932                 SetValue(SelectionHighlightColorProperty, value);
1933                 NotifyPropertyChanged();
1934             }
1935         }
1936
1937         /// <summary>
1938         /// The DecorationBoundingBox property.
1939         /// </summary>
1940         /// <since_tizen> 3 </since_tizen>
1941         public Rectangle DecorationBoundingBox
1942         {
1943             get
1944             {
1945                 return (Rectangle)GetValue(DecorationBoundingBoxProperty);
1946             }
1947             set
1948             {
1949                 SetValue(DecorationBoundingBoxProperty, value);
1950                 NotifyPropertyChanged();
1951             }
1952         }
1953
1954         /// <summary>
1955         /// The InputMethodSettings property.
1956         /// </summary>
1957         /// <since_tizen> 3 </since_tizen>
1958         public PropertyMap InputMethodSettings
1959         {
1960             get
1961             {
1962                 return (PropertyMap)GetValue(InputMethodSettingsProperty);
1963             }
1964             set
1965             {
1966                 SetValue(InputMethodSettingsProperty, value);
1967                 NotifyPropertyChanged();
1968             }
1969         }
1970
1971         /// <summary>
1972         /// The InputColor property.
1973         /// </summary>
1974         /// <since_tizen> 3 </since_tizen>
1975         public Vector4 InputColor
1976         {
1977             get
1978             {
1979                 return (Vector4)GetValue(InputColorProperty);
1980             }
1981             set
1982             {
1983                 SetValue(InputColorProperty, value);
1984                 NotifyPropertyChanged();
1985             }
1986         }
1987
1988         /// <summary>
1989         /// The EnableMarkup property.
1990         /// </summary>
1991         /// <since_tizen> 3 </since_tizen>
1992         public bool EnableMarkup
1993         {
1994             get
1995             {
1996                 return (bool)GetValue(EnableMarkupProperty);
1997             }
1998             set
1999             {
2000                 SetValue(EnableMarkupProperty, value);
2001                 NotifyPropertyChanged();
2002             }
2003         }
2004
2005         /// <summary>
2006         /// The InputFontFamily property.
2007         /// </summary>
2008         /// <since_tizen> 3 </since_tizen>
2009         public string InputFontFamily
2010         {
2011             get
2012             {
2013                 return (string)GetValue(InputFontFamilyProperty);
2014             }
2015             set
2016             {
2017                 SetValue(InputFontFamilyProperty, value);
2018                 NotifyPropertyChanged();
2019             }
2020         }
2021
2022         /// <summary>
2023         /// The InputFontStyle property.
2024         /// </summary>
2025         /// <since_tizen> 3 </since_tizen>
2026         public PropertyMap InputFontStyle
2027         {
2028             get
2029             {
2030                 return (PropertyMap)GetValue(InputFontStyleProperty);
2031             }
2032             set
2033             {
2034                 SetValue(InputFontStyleProperty, value);
2035                 NotifyPropertyChanged();
2036             }
2037         }
2038
2039         /// <summary>
2040         /// The InputPointSize property.
2041         /// </summary>
2042         /// <since_tizen> 3 </since_tizen>
2043         public float InputPointSize
2044         {
2045             get
2046             {
2047                 return (float)GetValue(InputPointSizeProperty);
2048             }
2049             set
2050             {
2051                 SetValue(InputPointSizeProperty, value);
2052                 NotifyPropertyChanged();
2053             }
2054         }
2055
2056         /// <summary>
2057         /// The Underline property.
2058         /// </summary>
2059         /// <since_tizen> 3 </since_tizen>
2060         public PropertyMap Underline
2061         {
2062             get
2063             {
2064                 return (PropertyMap)GetValue(UnderlineProperty);
2065             }
2066             set
2067             {
2068                 SetValue(UnderlineProperty, value);
2069                 NotifyPropertyChanged();
2070             }
2071         }
2072
2073         /// <summary>
2074         /// The InputUnderline property.
2075         /// </summary>
2076         /// <since_tizen> 3 </since_tizen>
2077         public string InputUnderline
2078         {
2079             get
2080             {
2081                 return (string)GetValue(InputUnderlineProperty);
2082             }
2083             set
2084             {
2085                 SetValue(InputUnderlineProperty, value);
2086                 NotifyPropertyChanged();
2087             }
2088         }
2089
2090         /// <summary>
2091         /// The Shadow property.
2092         /// </summary>
2093         /// <since_tizen> 3 </since_tizen>
2094         public PropertyMap Shadow
2095         {
2096             get
2097             {
2098                 return (PropertyMap)GetValue(ShadowProperty);
2099             }
2100             set
2101             {
2102                 SetValue(ShadowProperty, value);
2103                 NotifyPropertyChanged();
2104             }
2105         }
2106
2107         /// <summary>
2108         /// The InputShadow property.
2109         /// </summary>
2110         /// <since_tizen> 3 </since_tizen>
2111         public string InputShadow
2112         {
2113             get
2114             {
2115                 return (string)GetValue(InputShadowProperty);
2116             }
2117             set
2118             {
2119                 SetValue(InputShadowProperty, value);
2120                 NotifyPropertyChanged();
2121             }
2122         }
2123
2124         /// <summary>
2125         /// The Emboss property.
2126         /// </summary>
2127         /// <since_tizen> 3 </since_tizen>
2128         public string Emboss
2129         {
2130             get
2131             {
2132                 return (string)GetValue(EmbossProperty);
2133             }
2134             set
2135             {
2136                 SetValue(EmbossProperty, value);
2137                 NotifyPropertyChanged();
2138             }
2139         }
2140
2141         /// <summary>
2142         /// The InputEmboss property.
2143         /// </summary>
2144         /// <since_tizen> 3 </since_tizen>
2145         public string InputEmboss
2146         {
2147             get
2148             {
2149                 return (string)GetValue(InputEmbossProperty);
2150             }
2151             set
2152             {
2153                 SetValue(InputEmbossProperty, value);
2154                 NotifyPropertyChanged();
2155             }
2156         }
2157
2158         /// <summary>
2159         /// The Outline property.
2160         /// </summary>
2161         /// <since_tizen> 3 </since_tizen>
2162         public PropertyMap Outline
2163         {
2164             get
2165             {
2166                 return (PropertyMap)GetValue(OutlineProperty);
2167             }
2168             set
2169             {
2170                 SetValue(OutlineProperty, value);
2171                 NotifyPropertyChanged();
2172             }
2173         }
2174
2175         /// <summary>
2176         /// The InputOutline property.
2177         /// </summary>
2178         /// <since_tizen> 3 </since_tizen>
2179         public string InputOutline
2180         {
2181             get
2182             {
2183                 return (string)GetValue(InputOutlineProperty);
2184             }
2185             set
2186             {
2187                 SetValue(InputOutlineProperty, value);
2188                 NotifyPropertyChanged();
2189             }
2190         }
2191
2192         /// <summary>
2193         /// The HiddenInputSettings property.
2194         /// </summary>
2195         /// <since_tizen> 3 </since_tizen>
2196         public Tizen.NUI.PropertyMap HiddenInputSettings
2197         {
2198             get
2199             {
2200                 return (PropertyMap)GetValue(HiddenInputSettingsProperty);
2201             }
2202             set
2203             {
2204                 SetValue(HiddenInputSettingsProperty, value);
2205                 NotifyPropertyChanged();
2206             }
2207         }
2208
2209         /// <summary>
2210         /// The PixelSize property.
2211         /// </summary>
2212         /// <since_tizen> 3 </since_tizen>
2213         public float PixelSize
2214         {
2215             get
2216             {
2217                 return (float)GetValue(PixelSizeProperty);
2218             }
2219             set
2220             {
2221                 SetValue(PixelSizeProperty, value);
2222                 NotifyPropertyChanged();
2223             }
2224         }
2225
2226         /// <summary>
2227         /// The Enable selection property.
2228         /// </summary>
2229         /// <since_tizen> 3 </since_tizen>
2230         public bool EnableSelection
2231         {
2232             get
2233             {
2234                 return (bool)GetValue(EnableSelectionProperty);
2235             }
2236             set
2237             {
2238                 SetValue(EnableSelectionProperty, value);
2239                 NotifyPropertyChanged();
2240             }
2241         }
2242
2243         /// <summary>
2244         /// The Placeholder property.
2245         /// Gets or sets the placeholder: text, color, font family, font style, point size, and pixel size.
2246         /// </summary>
2247         /// <example>
2248         /// The following example demonstrates how to set the Placeholder property.
2249         /// <code>
2250         /// PropertyMap propertyMap = new PropertyMap();
2251         /// propertyMap.Add("text", new PropertyValue("Setting Placeholder Text"));
2252         /// propertyMap.Add("textFocused", new PropertyValue("Setting Placeholder Text Focused"));
2253         /// propertyMap.Add("color", new PropertyValue(Color.Red));
2254         /// propertyMap.Add("fontFamily", new PropertyValue("Arial"));
2255         /// propertyMap.Add("pointSize", new PropertyValue(12.0f));
2256         ///
2257         /// PropertyMap fontStyleMap = new PropertyMap();
2258         /// fontStyleMap.Add("weight", new PropertyValue("bold"));
2259         /// fontStyleMap.Add("width", new PropertyValue("condensed"));
2260         /// fontStyleMap.Add("slant", new PropertyValue("italic"));
2261         /// propertyMap.Add("fontStyle", new PropertyValue(fontStyleMap));
2262         ///
2263         /// TextField field = new TextField();
2264         /// field.Placeholder = propertyMap;
2265         /// </code>
2266         /// </example>
2267         /// <since_tizen> 3 </since_tizen>
2268         public Tizen.NUI.PropertyMap Placeholder
2269         {
2270             get
2271             {
2272                 return (PropertyMap)GetValue(PlaceholderProperty);
2273             }
2274             set
2275             {
2276                 SetValue(PlaceholderProperty, value);
2277                 NotifyPropertyChanged();
2278             }
2279         }
2280
2281         /// <summary>
2282         /// The Ellipsis property.<br />
2283         /// Enable or disable the ellipsis.<br />
2284         /// Placeholder PropertyMap is used to add ellipsis to placeholder text.
2285         /// </summary>
2286         /// <since_tizen> 4 </since_tizen>
2287         public bool Ellipsis
2288         {
2289             get
2290             {
2291                 return (bool)GetValue(EllipsisProperty);
2292             }
2293             set
2294             {
2295                 SetValue(EllipsisProperty, value);
2296                 NotifyPropertyChanged();
2297             }
2298         }
2299
2300         /// <summary>
2301         /// Enables selection of the text using the Shift key.
2302         /// </summary>
2303         /// <since_tizen> 5 </since_tizen>
2304         /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2305         [EditorBrowsable(EditorBrowsableState.Never)]
2306         public bool EnableShiftSelection
2307         {
2308             get
2309             {
2310                 return (bool)GetValue(EnableShiftSelectionProperty);
2311             }
2312             set
2313             {
2314                 SetValue(EnableShiftSelectionProperty, value);
2315                 NotifyPropertyChanged();
2316             }
2317         }
2318     }
2319 }