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