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