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