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