[NUI] Split NUI Assemblies (#865)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI.Xaml / src / public / Forms / BaseComponents / TextField.cs
1 /*
2  * Copyright(c) 2018 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17 extern alias TizenSystemSettings;
18 using TizenSystemSettings.Tizen.System;
19
20 using System;
21 using System.Runtime.InteropServices;
22 using System.Globalization;
23 using System.ComponentModel;
24 using Tizen.NUI.XamlBinding;
25 using static Tizen.NUI.BaseComponents.TextField;
26 using Tizen.NUI;
27
28 namespace Tizen.NUI.Xaml.Forms.BaseComponents
29 {
30     /// <summary>
31     /// A control which provides a single line editable text field.
32     /// </summary>
33     /// <since_tizen> 6 </since_tizen>
34     /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
35     [EditorBrowsable(EditorBrowsableState.Never)]
36     public class TextField : View
37     {
38         private Tizen.NUI.BaseComponents.TextField _textField;
39         internal Tizen.NUI.BaseComponents.TextField textField
40         {
41             get
42             {
43                 if (null == _textField)
44                 {
45                     _textField = handleInstance as Tizen.NUI.BaseComponents.TextField;
46                 }
47
48                 return _textField;
49             }
50         }
51
52         /// <summary>
53         /// Constructor.
54         /// </summary>
55         /// <since_tizen> 6 </since_tizen>
56         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
57         [EditorBrowsable(EditorBrowsableState.Never)]
58         public TextField() : this(new Tizen.NUI.BaseComponents.TextField())
59         {
60         }
61
62         internal TextField(Tizen.NUI.BaseComponents.TextField nuiInstance) : base(nuiInstance)
63         {
64             SetNUIInstance(nuiInstance);
65         }
66
67         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
68         [EditorBrowsable(EditorBrowsableState.Never)]
69         public static readonly BindableProperty TextProperty = BindableProperty.Create(nameof(Text), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
70         {
71             var textField = ((TextField)bindable).textField;
72             textField.Text = (string)newValue;
73         },
74         defaultValueCreator: (bindable) =>
75         {
76             var textField = ((TextField)bindable).textField;
77             return textField.Text;
78         });
79         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
80         [EditorBrowsable(EditorBrowsableState.Never)]
81         public static readonly BindableProperty PlaceholderTextProperty = BindableProperty.Create(nameof(PlaceholderText), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
82         {
83             var textField = ((TextField)bindable).textField;
84             textField.PlaceholderText = (string)newValue;
85         },
86         defaultValueCreator: (bindable) =>
87         {
88             var textField = ((TextField)bindable).textField;
89             return textField.PlaceholderText;
90         });
91         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
92         [EditorBrowsable(EditorBrowsableState.Never)]
93         public static readonly BindableProperty PlaceholderTextFocusedProperty = BindableProperty.Create(nameof(PlaceholderTextFocused), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
94         {
95             var textField = ((TextField)bindable).textField;
96             textField.PlaceholderTextFocused = (string)newValue;
97         },
98         defaultValueCreator: (bindable) =>
99         {
100             var textField = ((TextField)bindable).textField;
101             return textField.PlaceholderTextFocused;
102         });
103         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
104         [EditorBrowsable(EditorBrowsableState.Never)]
105         public static readonly BindableProperty FontFamilyProperty = BindableProperty.Create(nameof(FontFamily), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
106         {
107             var textField = ((TextField)bindable).textField;
108             textField.FontFamily = (string)newValue;
109         },
110         defaultValueCreator: (bindable) =>
111         {
112             var textField = ((TextField)bindable).textField;
113             return textField.FontFamily;
114         });
115         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
116         [EditorBrowsable(EditorBrowsableState.Never)]
117         public static readonly BindableProperty FontStyleProperty = BindableProperty.Create(nameof(FontStyle), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
118         {
119             var textField = ((TextField)bindable).textField;
120             textField.FontStyle = (PropertyMap)newValue;
121         },
122         defaultValueCreator: (bindable) =>
123         {
124             var textField = ((TextField)bindable).textField;
125             return textField.FontStyle;
126         });
127         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
128         [EditorBrowsable(EditorBrowsableState.Never)]
129         public static readonly BindableProperty PointSizeProperty = BindableProperty.Create(nameof(PointSize), typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
130         {
131             var textField = ((TextField)bindable).textField;
132             textField.PointSize = (float)newValue;
133         },
134         defaultValueCreator: (bindable) =>
135         {
136             var textField = ((TextField)bindable).textField;
137             return textField.PointSize;
138         });
139         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
140         [EditorBrowsable(EditorBrowsableState.Never)]
141         public static readonly BindableProperty MaxLengthProperty = BindableProperty.Create(nameof(MaxLength), typeof(int), typeof(TextField), default(int), propertyChanged: (bindable, oldValue, newValue) =>
142         {
143             var textField = ((TextField)bindable).textField;
144             textField.MaxLength = (int)newValue;
145         },
146         defaultValueCreator: (bindable) =>
147         {
148             var textField = ((TextField)bindable).textField;
149             return textField.MaxLength;
150         });
151         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
152         [EditorBrowsable(EditorBrowsableState.Never)]
153         public static readonly BindableProperty ExceedPolicyProperty = BindableProperty.Create(nameof(ExceedPolicy), typeof(int), typeof(TextField), default(int), propertyChanged: (bindable, oldValue, newValue) =>
154         {
155             var textField = ((TextField)bindable).textField;
156             textField.ExceedPolicy = (int)newValue;
157         },
158         defaultValueCreator: (bindable) =>
159         {
160             var textField = ((TextField)bindable).textField;
161             return textField.ExceedPolicy;
162         });
163         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
164         [EditorBrowsable(EditorBrowsableState.Never)]
165         public static readonly BindableProperty HorizontalAlignmentProperty = BindableProperty.Create(nameof(HorizontalAlignment), typeof(HorizontalAlignment), typeof(TextField), HorizontalAlignment.Begin, propertyChanged: (bindable, oldValue, newValue) =>
166         {
167             var textField = ((TextField)bindable).textField;
168             textField.HorizontalAlignment = (HorizontalAlignment)newValue;
169         },
170         defaultValueCreator: (bindable) =>
171         {
172             var textField = ((TextField)bindable).textField;
173             return textField.HorizontalAlignment;
174         });
175         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
176         [EditorBrowsable(EditorBrowsableState.Never)]
177         public static readonly BindableProperty VerticalAlignmentProperty = BindableProperty.Create(nameof(TextField.VerticalAlignment), typeof(VerticalAlignment), typeof(TextField), VerticalAlignment.Bottom, propertyChanged: (bindable, oldValue, newValue) =>
178         {
179             var textField = ((TextField)bindable).textField;
180             textField.VerticalAlignment = (VerticalAlignment)newValue;
181         },
182         defaultValueCreator: (bindable) =>
183         {
184             var textField = ((TextField)bindable).textField;
185             return textField.VerticalAlignment;
186         });
187         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
188         [EditorBrowsable(EditorBrowsableState.Never)]
189         public static readonly BindableProperty TextColorProperty = BindableProperty.Create(nameof(TextField.TextColor), typeof(Color), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
190         {
191             var textField = ((TextField)bindable).textField;
192             textField.TextColor = (Color)newValue;
193         },
194         defaultValueCreator: (bindable) =>
195         {
196             var textField = ((TextField)bindable).textField;
197             return textField.TextColor;
198         });
199         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
200         [EditorBrowsable(EditorBrowsableState.Never)]
201         public static readonly BindableProperty PlaceholderTextColorProperty = BindableProperty.Create(nameof(TextField.PlaceholderTextColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
202         {
203             var textField = ((TextField)bindable).textField;
204             textField.PlaceholderTextColor = (Vector4)newValue;
205         },
206         defaultValueCreator: (bindable) =>
207         {
208             var textField = ((TextField)bindable).textField;
209             return textField.PlaceholderTextColor;
210         });
211         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
212         [EditorBrowsable(EditorBrowsableState.Never)]
213         public static readonly BindableProperty PrimaryCursorColorProperty = BindableProperty.Create("PrimaryCursorColor", typeof(Vector4), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
214         {
215             var textField = ((TextField)bindable).textField;
216             textField.PrimaryCursorColor = (Vector4)newValue;
217         },
218         defaultValueCreator: (bindable) =>
219         {
220             var textField = ((TextField)bindable).textField;
221             return textField.PrimaryCursorColor;
222         });
223         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
224         [EditorBrowsable(EditorBrowsableState.Never)]
225         public static readonly BindableProperty SecondaryCursorColorProperty = BindableProperty.Create(nameof(TextField.SecondaryCursorColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
226         {
227             var textField = ((TextField)bindable).textField;
228             textField.SecondaryCursorColor = (Vector4)newValue;
229         },
230         defaultValueCreator: (bindable) =>
231         {
232             var textField = ((TextField)bindable).textField;
233             return textField.SecondaryCursorColor;
234         });
235         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
236         [EditorBrowsable(EditorBrowsableState.Never)]
237         public static readonly BindableProperty EnableCursorBlinkProperty = BindableProperty.Create(nameof(TextField.EnableCursorBlink), typeof(bool), typeof(TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
238         {
239             var textField = ((TextField)bindable).textField;
240             textField.EnableCursorBlink = (bool)newValue;
241         },
242         defaultValueCreator: (bindable) =>
243         {
244             var textField = ((TextField)bindable).textField;
245             return textField.EnableCursorBlink;
246         });
247         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
248         [EditorBrowsable(EditorBrowsableState.Never)]
249         public static readonly BindableProperty CursorBlinkIntervalProperty = BindableProperty.Create(nameof(TextField.CursorBlinkInterval), typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
250         {
251             var textField = ((TextField)bindable).textField;
252             textField.CursorBlinkInterval = (float)newValue;
253         },
254         defaultValueCreator: (bindable) =>
255         {
256             var textField = ((TextField)bindable).textField;
257             return textField.CursorBlinkInterval;
258         });
259         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
260         [EditorBrowsable(EditorBrowsableState.Never)]
261         public static readonly BindableProperty CursorBlinkDurationProperty = BindableProperty.Create(nameof(TextField.CursorBlinkDuration), typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
262         {
263             var textField = ((TextField)bindable).textField;
264             textField.CursorBlinkDuration = (float)newValue;
265         },
266         defaultValueCreator: (bindable) =>
267         {
268             var textField = ((TextField)bindable).textField;
269             return textField.CursorBlinkDuration;
270         });
271         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
272         [EditorBrowsable(EditorBrowsableState.Never)]
273         public static readonly BindableProperty CursorWidthProperty = BindableProperty.Create(nameof(TextField.CursorWidth), typeof(int), typeof(TextField), default(int), propertyChanged: (bindable, oldValue, newValue) =>
274         {
275             var textField = ((TextField)bindable).textField;
276             textField.CursorWidth = (int)newValue;
277         },
278         defaultValueCreator: (bindable) =>
279         {
280             var textField = ((TextField)bindable).textField;
281             return textField.CursorWidth;
282         });
283         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
284         [EditorBrowsable(EditorBrowsableState.Never)]
285         public static readonly BindableProperty GrabHandleImageProperty = BindableProperty.Create(nameof(TextField.GrabHandleImage), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
286         {
287             var textField = ((TextField)bindable).textField;
288             textField.GrabHandleImage = (string)newValue;
289         },
290         defaultValueCreator: (bindable) =>
291         {
292             var textField = ((TextField)bindable).textField;
293             return textField.GrabHandleImage;
294         });
295         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
296         [EditorBrowsable(EditorBrowsableState.Never)]
297         public static readonly BindableProperty GrabHandlePressedImageProperty = BindableProperty.Create(nameof(TextField.GrabHandlePressedImage), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
298         {
299             var textField = ((TextField)bindable).textField;
300             textField.GrabHandlePressedImage = (string)newValue;
301         },
302         defaultValueCreator: (bindable) =>
303         {
304             var textField = ((TextField)bindable).textField;
305             return textField.GrabHandlePressedImage;
306         });
307         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
308         [EditorBrowsable(EditorBrowsableState.Never)]
309         public static readonly BindableProperty ScrollThresholdProperty = BindableProperty.Create(nameof(TextField.ScrollThreshold), typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
310         {
311             var textField = ((TextField)bindable).textField;
312             textField.ScrollThreshold = (float)newValue;
313         },
314         defaultValueCreator: (bindable) =>
315         {
316             var textField = ((TextField)bindable).textField;
317             return textField.ScrollThreshold;
318         });
319         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
320         [EditorBrowsable(EditorBrowsableState.Never)]
321         public static readonly BindableProperty ScrollSpeedProperty = BindableProperty.Create(nameof(TextField.ScrollSpeed), typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
322         {
323             var textField = ((TextField)bindable).textField;
324             textField.ScrollSpeed = (float)newValue;
325         },
326         defaultValueCreator: (bindable) =>
327         {
328             var textField = ((TextField)bindable).textField;
329             return textField.ScrollSpeed;
330         });
331         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
332         [EditorBrowsable(EditorBrowsableState.Never)]
333         public static readonly BindableProperty SelectionHandleImageLeftProperty = BindableProperty.Create(nameof(TextField.SelectionHandleImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
334         {
335             var textField = ((TextField)bindable).textField;
336             textField.SelectionHandleImageLeft = (PropertyMap)newValue;
337         },
338         defaultValueCreator: (bindable) =>
339         {
340             var textField = ((TextField)bindable).textField;
341             return textField.SelectionHandleImageLeft;
342         });
343         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
344         [EditorBrowsable(EditorBrowsableState.Never)]
345         public static readonly BindableProperty SelectionHandleImageRightProperty = BindableProperty.Create(nameof(TextField.SelectionHandleImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
346         {
347             var textField = ((TextField)bindable).textField;
348             textField.SelectionHandleImageLeft = (PropertyMap)newValue;
349         },
350         defaultValueCreator: (bindable) =>
351         {
352             var textField = ((TextField)bindable).textField;
353             return textField.SelectionHandleImageLeft;
354         });
355         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
356         [EditorBrowsable(EditorBrowsableState.Never)]
357         public static readonly BindableProperty SelectionHandlePressedImageLeftProperty = BindableProperty.Create(nameof(TextField.SelectionHandlePressedImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
358         {
359             var textField = ((TextField)bindable).textField;
360             textField.SelectionHandlePressedImageLeft = (PropertyMap)newValue;
361         },
362         defaultValueCreator: (bindable) =>
363         {
364             var textField = ((TextField)bindable).textField;
365             return textField.SelectionHandlePressedImageLeft;
366         });
367         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
368         [EditorBrowsable(EditorBrowsableState.Never)]
369         public static readonly BindableProperty SelectionHandlePressedImageRightProperty = BindableProperty.Create(nameof(TextField.SelectionHandlePressedImageRight), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
370         {
371             var textField = ((TextField)bindable).textField;
372             textField.SelectionHandlePressedImageRight = (PropertyMap)newValue;
373         },
374         defaultValueCreator: (bindable) =>
375         {
376             var textField = ((TextField)bindable).textField;
377             return textField.SelectionHandlePressedImageRight;
378         });
379         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
380         [EditorBrowsable(EditorBrowsableState.Never)]
381         public static readonly BindableProperty SelectionHandleMarkerImageLeftProperty = BindableProperty.Create(nameof(TextField.SelectionHandleMarkerImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
382         {
383             var textField = ((TextField)bindable).textField;
384             textField.SelectionHandleMarkerImageLeft = (PropertyMap)newValue;
385         },
386         defaultValueCreator: (bindable) =>
387         {
388             var textField = ((TextField)bindable).textField;
389             return textField.SelectionHandleMarkerImageLeft;
390         });
391         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
392         [EditorBrowsable(EditorBrowsableState.Never)]
393         public static readonly BindableProperty SelectionHandleMarkerImageRightProperty = BindableProperty.Create(nameof(TextField.SelectionHandleMarkerImageRight), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
394         {
395             var textField = ((TextField)bindable).textField;
396             textField.SelectionHandleMarkerImageRight = (PropertyMap)newValue;
397         },
398         defaultValueCreator: (bindable) =>
399         {
400             var textField = ((TextField)bindable).textField;
401             return textField.SelectionHandleMarkerImageRight;
402         });
403         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
404         [EditorBrowsable(EditorBrowsableState.Never)]
405         public static readonly BindableProperty SelectionHighlightColorProperty = BindableProperty.Create(nameof(TextField.SelectionHighlightColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
406         {
407             var textField = ((TextField)bindable).textField;
408             textField.SelectionHighlightColor = (Vector4)newValue;
409         },
410         defaultValueCreator: (bindable) =>
411         {
412             var textField = ((TextField)bindable).textField;
413             return textField.SelectionHighlightColor;
414         });
415         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
416         [EditorBrowsable(EditorBrowsableState.Never)]
417         public static readonly BindableProperty DecorationBoundingBoxProperty = BindableProperty.Create(nameof(TextField.DecorationBoundingBox), typeof(Rectangle), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
418         {
419             var textField = ((TextField)bindable).textField;
420             textField.DecorationBoundingBox = (Rectangle)newValue;
421         },
422         defaultValueCreator: (bindable) =>
423         {
424             var textField = ((TextField)bindable).textField;
425             return textField.DecorationBoundingBox;
426         });
427         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
428         [EditorBrowsable(EditorBrowsableState.Never)]
429         public static readonly BindableProperty InputMethodSettingsProperty = BindableProperty.Create(nameof(TextField.InputMethodSettings), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
430         {
431             var textField = ((TextField)bindable).textField;
432             textField.InputMethodSettings = (PropertyMap)newValue;
433         },
434         defaultValueCreator: (bindable) =>
435         {
436             var textField = ((TextField)bindable).textField;
437             return textField.InputMethodSettings;
438         });
439         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
440         [EditorBrowsable(EditorBrowsableState.Never)]
441         public static readonly BindableProperty InputColorProperty = BindableProperty.Create(nameof(TextField.InputColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
442         {
443             var textField = ((TextField)bindable).textField;
444             textField.InputColor = (Vector4)newValue;
445         },
446         defaultValueCreator: (bindable) =>
447         {
448             var textField = ((TextField)bindable).textField;
449             return textField.InputColor;
450         });
451         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
452         [EditorBrowsable(EditorBrowsableState.Never)]
453         public static readonly BindableProperty EnableMarkupProperty = BindableProperty.Create(nameof(TextField.EnableMarkup), typeof(bool), typeof(TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
454         {
455             var textField = ((TextField)bindable).textField;
456             textField.EnableMarkup = (bool)newValue;
457         },
458         defaultValueCreator: (bindable) =>
459         {
460             var textField = ((TextField)bindable).textField;
461             return textField.EnableMarkup;
462         });
463         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
464         [EditorBrowsable(EditorBrowsableState.Never)]
465         public static readonly BindableProperty InputFontFamilyProperty = BindableProperty.Create(nameof(TextField.InputFontFamily), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
466         {
467             var textField = ((TextField)bindable).textField;
468             textField.InputFontFamily = (string)newValue;
469         },
470         defaultValueCreator: (bindable) =>
471         {
472             var textField = ((TextField)bindable).textField;
473             return textField.InputFontFamily;
474         });
475         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
476         [EditorBrowsable(EditorBrowsableState.Never)]
477         public static readonly BindableProperty InputFontStyleProperty = BindableProperty.Create(nameof(TextField.InputFontStyle), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
478         {
479             var textField = ((TextField)bindable).textField;
480             textField.InputFontStyle = (PropertyMap)newValue;
481         },
482         defaultValueCreator: (bindable) =>
483         {
484             var textField = ((TextField)bindable).textField;
485             return textField.InputFontStyle;
486         });
487         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
488         [EditorBrowsable(EditorBrowsableState.Never)]
489         public static readonly BindableProperty InputPointSizeProperty = BindableProperty.Create(nameof(TextField.InputPointSize), typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
490         {
491             var textField = ((TextField)bindable).textField;
492             textField.InputPointSize = (float)newValue;
493         },
494         defaultValueCreator: (bindable) =>
495         {
496             var textField = ((TextField)bindable).textField;
497             return textField.InputPointSize;
498         });
499         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
500         [EditorBrowsable(EditorBrowsableState.Never)]
501         public static readonly BindableProperty UnderlineProperty = BindableProperty.Create(nameof(TextField.Underline), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
502         {
503             var textField = ((TextField)bindable).textField;
504             textField.Underline = (PropertyMap)newValue;
505         },
506         defaultValueCreator: (bindable) =>
507         {
508             var textField = ((TextField)bindable).textField;
509             return textField.Underline;
510         });
511         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
512         [EditorBrowsable(EditorBrowsableState.Never)]
513         public static readonly BindableProperty InputUnderlineProperty = BindableProperty.Create(nameof(TextField.InputUnderline), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
514         {
515             var textField = ((TextField)bindable).textField;
516             textField.InputUnderline = (string)newValue;
517         },
518         defaultValueCreator: (bindable) =>
519         {
520             var textField = ((TextField)bindable).textField;
521             return textField.InputUnderline;
522         });
523         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
524         [EditorBrowsable(EditorBrowsableState.Never)]
525         public static readonly BindableProperty ShadowProperty = BindableProperty.Create(nameof(TextField.Shadow), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
526         {
527             var textField = ((TextField)bindable).textField;
528             textField.Shadow = (PropertyMap)newValue;
529         },
530         defaultValueCreator: (bindable) =>
531         {
532             var textField = ((TextField)bindable).textField;
533             return textField.Shadow;
534         });
535         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
536         [EditorBrowsable(EditorBrowsableState.Never)]
537         public static readonly BindableProperty InputShadowProperty = BindableProperty.Create(nameof(TextField.InputShadow), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
538         {
539             var textField = ((TextField)bindable).textField;
540             textField.InputShadow = (string)newValue;
541         },
542         defaultValueCreator: (bindable) =>
543         {
544             var textField = ((TextField)bindable).textField;
545             return textField.InputShadow;
546         });
547         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
548         [EditorBrowsable(EditorBrowsableState.Never)]
549         public static readonly BindableProperty EmbossProperty = BindableProperty.Create(nameof(TextField.Emboss), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
550         {
551             var textField = ((TextField)bindable).textField;
552             textField.Emboss = (string)newValue;
553         },
554         defaultValueCreator: (bindable) =>
555         {
556             var textField = ((TextField)bindable).textField;
557             return textField.Emboss;
558         });
559         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
560         [EditorBrowsable(EditorBrowsableState.Never)]
561         public static readonly BindableProperty InputEmbossProperty = BindableProperty.Create(nameof(TextField.InputEmboss), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
562         {
563             var textField = ((TextField)bindable).textField;
564             textField.InputEmboss = (string)newValue;
565         },
566         defaultValueCreator: (bindable) =>
567         {
568             var textField = ((TextField)bindable).textField;
569             return textField.InputEmboss;
570         });
571         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
572         [EditorBrowsable(EditorBrowsableState.Never)]
573         public static readonly BindableProperty OutlineProperty = BindableProperty.Create(nameof(TextField.Outline), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
574         {
575             var textField = ((TextField)bindable).textField;
576             textField.Outline = (PropertyMap)newValue;
577         },
578         defaultValueCreator: (bindable) =>
579         {
580             var textField = ((TextField)bindable).textField;
581             return textField.Outline;
582         });
583         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
584         [EditorBrowsable(EditorBrowsableState.Never)]
585         public static readonly BindableProperty InputOutlineProperty = BindableProperty.Create(nameof(TextField.InputOutline), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
586         {
587             var textField = ((TextField)bindable).textField;
588             textField.InputOutline = (string)newValue;
589         },
590         defaultValueCreator: (bindable) =>
591         {
592             var textField = ((TextField)bindable).textField;
593             return textField.InputOutline;
594         });
595         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
596         [EditorBrowsable(EditorBrowsableState.Never)]
597         public static readonly BindableProperty HiddenInputSettingsProperty = BindableProperty.Create(nameof(TextField.HiddenInputSettings), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
598         {
599             var textField = ((TextField)bindable).textField;
600             textField.HiddenInputSettings = (PropertyMap)newValue;
601         },
602         defaultValueCreator: (bindable) =>
603         {
604             var textField = ((TextField)bindable).textField;
605             return textField.HiddenInputSettings;
606         });
607         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
608         [EditorBrowsable(EditorBrowsableState.Never)]
609         public static readonly BindableProperty PixelSizeProperty = BindableProperty.Create(nameof(TextField.PixelSize), typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
610         {
611             var textField = ((TextField)bindable).textField;
612             textField.PixelSize = (float)newValue;
613         },
614         defaultValueCreator: (bindable) =>
615         {
616             var textField = ((TextField)bindable).textField;
617             return textField.PixelSize;
618         });
619         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
620         [EditorBrowsable(EditorBrowsableState.Never)]
621         public static readonly BindableProperty EnableSelectionProperty = BindableProperty.Create(nameof(TextField.EnableSelection), typeof(bool), typeof(TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
622         {
623             var textField = ((TextField)bindable).textField;
624             textField.EnableSelection = (bool)newValue;
625         },
626         defaultValueCreator: (bindable) =>
627         {
628             var textField = ((TextField)bindable).textField;
629             return textField.EnableSelection;
630         });
631         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
632         [EditorBrowsable(EditorBrowsableState.Never)]
633         public static readonly BindableProperty PlaceholderProperty = BindableProperty.Create(nameof(TextField.Placeholder), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
634         {
635             var textField = ((TextField)bindable).textField;
636             textField.Placeholder = (PropertyMap)newValue;
637         },
638         defaultValueCreator: (bindable) =>
639         {
640             var textField = ((TextField)bindable).textField;
641             return textField.Placeholder;
642         });
643         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
644         [EditorBrowsable(EditorBrowsableState.Never)]
645         public static readonly BindableProperty EllipsisProperty = BindableProperty.Create(nameof(TextField.Ellipsis), typeof(bool), typeof(TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
646         {
647             var textField = ((TextField)bindable).textField;
648             textField.Ellipsis = (bool)newValue;
649         },
650         defaultValueCreator: (bindable) =>
651         {
652             var textField = ((TextField)bindable).textField;
653             return textField.Ellipsis;
654         });
655         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
656         [EditorBrowsable(EditorBrowsableState.Never)]
657         public static readonly BindableProperty EnableShiftSelectionProperty = BindableProperty.Create(nameof(TextField.EnableShiftSelection), typeof(bool), typeof(TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
658         {
659             var textField = ((TextField)bindable).textField;
660             textField.EnableShiftSelection = (bool)newValue;
661         },
662         defaultValueCreator: (bindable) =>
663         {
664             var textField = ((TextField)bindable).textField;
665             return textField.EnableShiftSelection;
666         });
667         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
668         [EditorBrowsable(EditorBrowsableState.Never)]
669         public static readonly BindableProperty MatchSystemLanguageDirectionProperty = BindableProperty.Create(nameof(TextField.MatchSystemLanguageDirection), typeof(bool), typeof(TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
670         {
671             var textField = ((TextField)bindable).textField;
672             textField.MatchSystemLanguageDirection = (bool)newValue;
673         },
674         defaultValueCreator: (bindable) =>
675         {
676             var textField = ((TextField)bindable).textField;
677             return textField.MatchSystemLanguageDirection;
678         });
679
680         /// <summary>
681         /// The TextChanged event.
682         /// </summary>
683         /// <since_tizen> 6 </since_tizen>
684         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
685         [EditorBrowsable(EditorBrowsableState.Never)]
686         public event EventHandler<TextChangedEventArgs> TextChanged
687         {
688             add
689             {
690                 textField.TextChanged += value;
691             }
692             remove
693             {
694                 textField.TextChanged -= value;
695             }
696         }
697
698         /// <summary>
699         /// The MaxLengthReached event.
700         /// </summary>
701         /// <since_tizen> 6 </since_tizen>
702         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
703         [EditorBrowsable(EditorBrowsableState.Never)]
704         public event EventHandler<MaxLengthReachedEventArgs> MaxLengthReached
705         {
706             add
707             {
708                 textField.MaxLengthReached += value;
709             }
710             remove
711             {
712                 textField.MaxLengthReached -= value;
713             }
714         }
715
716         /// <summary>
717         /// Get the InputMethodContext instance.
718         /// </summary>
719         /// <returns>The InputMethodContext instance.</returns>
720         /// <since_tizen> 6 </since_tizen>
721         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
722         [EditorBrowsable(EditorBrowsableState.Never)]
723         public InputMethodContext GetInputMethodContext()
724         {
725             return textField.GetInputMethodContext();
726         }
727
728         /// <summary>
729         /// The TranslatableText property.<br />
730         /// The text can set the SID value.<br />
731         /// </summary>
732         /// <exception cref='ArgumentNullException'>
733         /// ResourceManager about multilingual is null.
734         /// </exception>
735         /// <since_tizen> 6 </since_tizen>
736         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
737         [EditorBrowsable(EditorBrowsableState.Never)]
738         public string TranslatableText
739         {
740             get
741             {
742                 return textField.TranslatableText;
743             }
744             set
745             {
746                 textField.TranslatableText = value;
747             }
748         }
749         /// <summary>
750         /// The TranslatablePlaceholderText property.<br />
751         /// The text can set the SID value.<br />
752         /// </summary>
753         /// <exception cref='ArgumentNullException'>
754         /// ResourceManager about multilingual is null.
755         /// </exception>
756         /// <since_tizen> 6 </since_tizen>
757         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
758         [EditorBrowsable(EditorBrowsableState.Never)]
759         public string TranslatablePlaceholderText
760         {
761             get
762             {
763                 return textField.TranslatablePlaceholderText;
764             }
765             set
766             {
767                 textField.TranslatablePlaceholderText = value;
768             }
769         }
770
771         /// <summary>
772         /// The Text property.
773         /// </summary>
774         /// <since_tizen> 6 </since_tizen>
775         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
776         [EditorBrowsable(EditorBrowsableState.Never)]
777         public string Text
778         {
779             get
780             {
781                 return (string)GetValue(TextProperty);
782             }
783             set
784             {
785                 SetValue(TextProperty, value);
786             }
787         }
788
789         /// <summary>
790         /// The PlaceholderText property.
791         /// </summary>
792         /// <since_tizen> 6 </since_tizen>
793         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
794         [EditorBrowsable(EditorBrowsableState.Never)]
795         public string PlaceholderText
796         {
797             get
798             {
799                 return (string)GetValue(PlaceholderTextProperty);
800             }
801             set
802             {
803                 SetValue(PlaceholderTextProperty, value);
804             }
805         }
806
807         /// <summary>
808         /// The PlaceholderTextFocused property.
809         /// </summary>
810         /// <since_tizen> 6 </since_tizen>
811         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
812         [EditorBrowsable(EditorBrowsableState.Never)]
813         public string PlaceholderTextFocused
814         {
815             get
816             {
817                 return (string)GetValue(PlaceholderTextFocusedProperty);
818             }
819             set
820             {
821                 SetValue(PlaceholderTextFocusedProperty, value);
822             }
823         }
824
825         /// <summary>
826         /// The FontFamily property.
827         /// </summary>
828         /// <since_tizen> 6 </since_tizen>
829         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
830         [EditorBrowsable(EditorBrowsableState.Never)]
831         public string FontFamily
832         {
833             get
834             {
835                 return (string)GetValue(FontFamilyProperty);
836             }
837             set
838             {
839                 SetValue(FontFamilyProperty, value);
840             }
841         }
842
843         /// <summary>
844         /// The FontStyle property.
845         /// </summary>
846         /// <since_tizen> 6 </since_tizen>
847         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
848         [EditorBrowsable(EditorBrowsableState.Never)]
849         public PropertyMap FontStyle
850         {
851             get
852             {
853                 return (PropertyMap)GetValue(FontStyleProperty);
854             }
855             set
856             {
857                 SetValue(FontStyleProperty, value);
858             }
859         }
860
861         /// <summary>
862         /// The PointSize property.
863         /// </summary>
864         /// <since_tizen> 6 </since_tizen>
865         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
866         [EditorBrowsable(EditorBrowsableState.Never)]
867         public float PointSize
868         {
869             get
870             {
871                 return (float)GetValue(PointSizeProperty);
872             }
873             set
874             {
875                 SetValue(PointSizeProperty, value);
876             }
877         }
878
879         /// <summary>
880         /// The MaxLength property.
881         /// </summary>
882         /// <since_tizen> 6 </since_tizen>
883         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
884         [EditorBrowsable(EditorBrowsableState.Never)]
885         public int MaxLength
886         {
887             get
888             {
889                 return (int)GetValue(MaxLengthProperty);
890             }
891             set
892             {
893                 SetValue(MaxLengthProperty, value);
894             }
895         }
896
897         /// <summary>
898         /// The ExceedPolicy property.
899         /// </summary>
900         /// <since_tizen> 6 </since_tizen>
901         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
902         [EditorBrowsable(EditorBrowsableState.Never)]
903         public int ExceedPolicy
904         {
905             get
906             {
907                 return (int)GetValue(ExceedPolicyProperty);
908             }
909             set
910             {
911                 SetValue(ExceedPolicyProperty, value);
912             }
913         }
914
915         /// <summary>
916         /// The HorizontalAlignment property.
917         /// </summary>
918         /// <since_tizen> 6 </since_tizen>
919         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
920         [EditorBrowsable(EditorBrowsableState.Never)]
921         public HorizontalAlignment HorizontalAlignment
922         {
923             get
924             {
925                 return (HorizontalAlignment)GetValue(HorizontalAlignmentProperty);
926             }
927             set
928             {
929                 SetValue(HorizontalAlignmentProperty, value);
930             }
931         }
932
933         /// <summary>
934         /// The VerticalAlignment property.
935         /// </summary>
936         /// <since_tizen> 6 </since_tizen>
937         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
938         [EditorBrowsable(EditorBrowsableState.Never)]
939         public VerticalAlignment VerticalAlignment
940         {
941             get
942             {
943                 return (VerticalAlignment)GetValue(VerticalAlignmentProperty);
944             }
945             set
946             {
947                 SetValue(VerticalAlignmentProperty, value);
948             }
949         }
950
951         /// <summary>
952         /// The TextColor property.
953         /// </summary>
954         /// <since_tizen> 6 </since_tizen>
955         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
956         [EditorBrowsable(EditorBrowsableState.Never)]
957         public Color TextColor
958         {
959             get
960             {
961                 return (Color)GetValue(TextColorProperty);
962             }
963             set
964             {
965                 SetValue(TextColorProperty, value);
966             }
967         }
968
969         /// <summary>
970         /// The PlaceholderTextColor property.
971         /// </summary>
972         /// <since_tizen> 6 </since_tizen>
973         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
974         [EditorBrowsable(EditorBrowsableState.Never)]
975         public Vector4 PlaceholderTextColor
976         {
977             get
978             {
979                 return (Vector4)GetValue(PlaceholderTextColorProperty);
980             }
981             set
982             {
983                 SetValue(PlaceholderTextColorProperty, value);
984             }
985         }
986
987         /// <summary>
988         /// The PrimaryCursorColor property.
989         /// </summary>
990         /// <since_tizen> 6 </since_tizen>
991         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
992         [EditorBrowsable(EditorBrowsableState.Never)]
993         public Vector4 PrimaryCursorColor
994         {
995             get
996             {
997                 return (Vector4)GetValue(PrimaryCursorColorProperty);
998             }
999             set
1000             {
1001                 SetValue(PrimaryCursorColorProperty, value);
1002             }
1003         }
1004
1005         /// <summary>
1006         /// The SecondaryCursorColor property.
1007         /// </summary>
1008         /// <since_tizen> 6 </since_tizen>
1009         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1010         [EditorBrowsable(EditorBrowsableState.Never)]
1011         public Vector4 SecondaryCursorColor
1012         {
1013             get
1014             {
1015                 return (Vector4)GetValue(SecondaryCursorColorProperty);
1016             }
1017             set
1018             {
1019                 SetValue(SecondaryCursorColorProperty, value);
1020             }
1021         }
1022
1023         /// <summary>
1024         /// The EnableCursorBlink property.
1025         /// </summary>
1026         /// <since_tizen> 6 </since_tizen>
1027         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1028         [EditorBrowsable(EditorBrowsableState.Never)]
1029         public bool EnableCursorBlink
1030         {
1031             get
1032             {
1033                 return (bool)GetValue(EnableCursorBlinkProperty);
1034             }
1035             set
1036             {
1037                 SetValue(EnableCursorBlinkProperty, value);
1038             }
1039         }
1040
1041         /// <summary>
1042         /// The CursorBlinkInterval property.
1043         /// </summary>
1044         /// <since_tizen> 6 </since_tizen>
1045         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1046         [EditorBrowsable(EditorBrowsableState.Never)]
1047         public float CursorBlinkInterval
1048         {
1049             get
1050             {
1051                 return (float)GetValue(CursorBlinkIntervalProperty);
1052             }
1053             set
1054             {
1055                 SetValue(CursorBlinkIntervalProperty, value);
1056             }
1057         }
1058
1059         /// <summary>
1060         /// The CursorBlinkDuration property.
1061         /// </summary>
1062         /// <since_tizen> 6 </since_tizen>
1063         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1064         [EditorBrowsable(EditorBrowsableState.Never)]
1065         public float CursorBlinkDuration
1066         {
1067             get
1068             {
1069                 return (float)GetValue(CursorBlinkDurationProperty);
1070             }
1071             set
1072             {
1073                 SetValue(CursorBlinkDurationProperty, value);
1074             }
1075         }
1076
1077         /// <summary>
1078         /// The CursorWidth property.
1079         /// </summary>
1080         /// <since_tizen> 6 </since_tizen>
1081         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1082         [EditorBrowsable(EditorBrowsableState.Never)]
1083         public int CursorWidth
1084         {
1085             get
1086             {
1087                 return (int)GetValue(CursorWidthProperty);
1088             }
1089             set
1090             {
1091                 SetValue(CursorWidthProperty, value);
1092             }
1093         }
1094
1095         /// <summary>
1096         /// The GrabHandleImage property.
1097         /// </summary>
1098         /// <since_tizen> 6 </since_tizen>
1099         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1100         [EditorBrowsable(EditorBrowsableState.Never)]
1101         public string GrabHandleImage
1102         {
1103             get
1104             {
1105                 return (string)GetValue(GrabHandleImageProperty);
1106             }
1107             set
1108             {
1109                 SetValue(GrabHandleImageProperty, value);
1110             }
1111         }
1112
1113         /// <summary>
1114         /// The GrabHandlePressedImage property.
1115         /// </summary>
1116         /// <since_tizen> 6 </since_tizen>
1117         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1118         [EditorBrowsable(EditorBrowsableState.Never)]
1119         public string GrabHandlePressedImage
1120         {
1121             get
1122             {
1123                 return (string)GetValue(GrabHandlePressedImageProperty);
1124             }
1125             set
1126             {
1127                 SetValue(GrabHandlePressedImageProperty, value);
1128             }
1129         }
1130
1131         /// <summary>
1132         /// The ScrollThreshold property.
1133         /// </summary>
1134         /// <since_tizen> 6 </since_tizen>
1135         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1136         [EditorBrowsable(EditorBrowsableState.Never)]
1137         public float ScrollThreshold
1138         {
1139             get
1140             {
1141                 return (float)GetValue(ScrollThresholdProperty);
1142             }
1143             set
1144             {
1145                 SetValue(ScrollThresholdProperty, value);
1146             }
1147         }
1148
1149         /// <summary>
1150         /// The ScrollSpeed property.
1151         /// </summary>
1152         /// <since_tizen> 6 </since_tizen>
1153         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1154         [EditorBrowsable(EditorBrowsableState.Never)]
1155         public float ScrollSpeed
1156         {
1157             get
1158             {
1159                 return (float)GetValue(ScrollSpeedProperty);
1160             }
1161             set
1162             {
1163                 SetValue(ScrollSpeedProperty, value);
1164             }
1165         }
1166
1167         /// <summary>
1168         /// The SelectionHandleImageLeft property.
1169         /// </summary>
1170         /// <since_tizen> 6 </since_tizen>
1171         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1172         [EditorBrowsable(EditorBrowsableState.Never)]
1173         public PropertyMap SelectionHandleImageLeft
1174         {
1175             get
1176             {
1177                 return (PropertyMap)GetValue(SelectionHandleImageLeftProperty);
1178             }
1179             set
1180             {
1181                 SetValue(SelectionHandleImageLeftProperty, value);
1182             }
1183         }
1184
1185         /// <summary>
1186         /// The SelectionHandleImageRight property.
1187         /// </summary>
1188         /// <since_tizen> 6 </since_tizen>
1189         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1190         [EditorBrowsable(EditorBrowsableState.Never)]
1191         public PropertyMap SelectionHandleImageRight
1192         {
1193             get
1194             {
1195                 return (PropertyMap)GetValue(SelectionHandleImageRightProperty);
1196             }
1197             set
1198             {
1199                 SetValue(SelectionHandleImageRightProperty, value);
1200             }
1201         }
1202
1203         /// <summary>
1204         /// The SelectionHandlePressedImageLeft property.
1205         /// </summary>
1206         /// <since_tizen> 6 </since_tizen>
1207         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1208         [EditorBrowsable(EditorBrowsableState.Never)]
1209         public PropertyMap SelectionHandlePressedImageLeft
1210         {
1211             get
1212             {
1213                 return (PropertyMap)GetValue(SelectionHandlePressedImageLeftProperty);
1214             }
1215             set
1216             {
1217                 SetValue(SelectionHandlePressedImageLeftProperty, value);
1218             }
1219         }
1220
1221         /// <summary>
1222         /// The SelectionHandlePressedImageRight property.
1223         /// </summary>
1224         /// <since_tizen> 6 </since_tizen>
1225         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1226         [EditorBrowsable(EditorBrowsableState.Never)]
1227         public PropertyMap SelectionHandlePressedImageRight
1228         {
1229             get
1230             {
1231                 return (PropertyMap)GetValue(SelectionHandlePressedImageRightProperty);
1232             }
1233             set
1234             {
1235                 SetValue(SelectionHandlePressedImageRightProperty, value);
1236             }
1237         }
1238
1239         /// <summary>
1240         /// The SelectionHandleMarkerImageLeft property.
1241         /// </summary>
1242         /// <since_tizen> 6 </since_tizen>
1243         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1244         [EditorBrowsable(EditorBrowsableState.Never)]
1245         public PropertyMap SelectionHandleMarkerImageLeft
1246         {
1247             get
1248             {
1249                 return (PropertyMap)GetValue(SelectionHandleMarkerImageLeftProperty);
1250             }
1251             set
1252             {
1253                 SetValue(SelectionHandleMarkerImageLeftProperty, value);
1254             }
1255         }
1256
1257         /// <summary>
1258         /// The SelectionHandleMarkerImageRight property.
1259         /// </summary>
1260         /// <since_tizen> 6 </since_tizen>
1261         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1262         [EditorBrowsable(EditorBrowsableState.Never)]
1263         public PropertyMap SelectionHandleMarkerImageRight
1264         {
1265             get
1266             {
1267                 return (PropertyMap)GetValue(SelectionHandleMarkerImageRightProperty);
1268             }
1269             set
1270             {
1271                 SetValue(SelectionHandleMarkerImageRightProperty, value);
1272             }
1273         }
1274
1275         /// <summary>
1276         /// The SelectionHighlightColor property.
1277         /// </summary>
1278         /// <since_tizen> 6 </since_tizen>
1279         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1280         [EditorBrowsable(EditorBrowsableState.Never)]
1281         public Vector4 SelectionHighlightColor
1282         {
1283             get
1284             {
1285                 return (Vector4)GetValue(SelectionHighlightColorProperty);
1286             }
1287             set
1288             {
1289                 SetValue(SelectionHighlightColorProperty, value);
1290             }
1291         }
1292
1293         /// <summary>
1294         /// The DecorationBoundingBox property.
1295         /// </summary>
1296         /// <since_tizen> 6 </since_tizen>
1297         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1298         [EditorBrowsable(EditorBrowsableState.Never)]
1299         public Rectangle DecorationBoundingBox
1300         {
1301             get
1302             {
1303                 return (Rectangle)GetValue(DecorationBoundingBoxProperty);
1304             }
1305             set
1306             {
1307                 SetValue(DecorationBoundingBoxProperty, value);
1308             }
1309         }
1310
1311         /// <summary>
1312         /// The InputMethodSettings property.
1313         /// </summary>
1314         /// <since_tizen> 6 </since_tizen>
1315         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1316         [EditorBrowsable(EditorBrowsableState.Never)]
1317         public PropertyMap InputMethodSettings
1318         {
1319             get
1320             {
1321                 return (PropertyMap)GetValue(InputMethodSettingsProperty);
1322             }
1323             set
1324             {
1325                 SetValue(InputMethodSettingsProperty, value);
1326             }
1327         }
1328
1329         /// <summary>
1330         /// The InputColor property.
1331         /// </summary>
1332         /// <since_tizen> 6 </since_tizen>
1333         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1334         [EditorBrowsable(EditorBrowsableState.Never)]
1335         public Vector4 InputColor
1336         {
1337             get
1338             {
1339                 return (Vector4)GetValue(InputColorProperty);
1340             }
1341             set
1342             {
1343                 SetValue(InputColorProperty, value);
1344             }
1345         }
1346
1347         /// <summary>
1348         /// The EnableMarkup property.
1349         /// </summary>
1350         /// <since_tizen> 6 </since_tizen>
1351         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1352         [EditorBrowsable(EditorBrowsableState.Never)]
1353         public bool EnableMarkup
1354         {
1355             get
1356             {
1357                 return (bool)GetValue(EnableMarkupProperty);
1358             }
1359             set
1360             {
1361                 SetValue(EnableMarkupProperty, value);
1362             }
1363         }
1364
1365         /// <summary>
1366         /// The InputFontFamily property.
1367         /// </summary>
1368         /// <since_tizen> 6 </since_tizen>
1369         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1370         [EditorBrowsable(EditorBrowsableState.Never)]
1371         public string InputFontFamily
1372         {
1373             get
1374             {
1375                 return (string)GetValue(InputFontFamilyProperty);
1376             }
1377             set
1378             {
1379                 SetValue(InputFontFamilyProperty, value);
1380             }
1381         }
1382
1383         /// <summary>
1384         /// The InputFontStyle property.
1385         /// </summary>
1386         /// <since_tizen> 6 </since_tizen>
1387         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1388         [EditorBrowsable(EditorBrowsableState.Never)]
1389         public PropertyMap InputFontStyle
1390         {
1391             get
1392             {
1393                 return (PropertyMap)GetValue(InputFontStyleProperty);
1394             }
1395             set
1396             {
1397                 SetValue(InputFontStyleProperty, value);
1398             }
1399         }
1400
1401         /// <summary>
1402         /// The InputPointSize property.
1403         /// </summary>
1404         /// <since_tizen> 6 </since_tizen>
1405         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1406         [EditorBrowsable(EditorBrowsableState.Never)]
1407         public float InputPointSize
1408         {
1409             get
1410             {
1411                 return (float)GetValue(InputPointSizeProperty);
1412             }
1413             set
1414             {
1415                 SetValue(InputPointSizeProperty, value);
1416             }
1417         }
1418
1419         /// <summary>
1420         /// The Underline property.
1421         /// </summary>
1422         /// <since_tizen> 6 </since_tizen>
1423         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1424         [EditorBrowsable(EditorBrowsableState.Never)]
1425         public PropertyMap Underline
1426         {
1427             get
1428             {
1429                 return (PropertyMap)GetValue(UnderlineProperty);
1430             }
1431             set
1432             {
1433                 SetValue(UnderlineProperty, value);
1434             }
1435         }
1436
1437         /// <summary>
1438         /// The InputUnderline property.
1439         /// </summary>
1440         /// <since_tizen> 6 </since_tizen>
1441         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1442         [EditorBrowsable(EditorBrowsableState.Never)]
1443         public string InputUnderline
1444         {
1445             get
1446             {
1447                 return (string)GetValue(InputUnderlineProperty);
1448             }
1449             set
1450             {
1451                 SetValue(InputUnderlineProperty, value);
1452             }
1453         }
1454
1455         /// <summary>
1456         /// The Shadow property.
1457         /// </summary>
1458         /// <since_tizen> 6 </since_tizen>
1459         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1460         [EditorBrowsable(EditorBrowsableState.Never)]
1461         public PropertyMap Shadow
1462         {
1463             get
1464             {
1465                 return (PropertyMap)GetValue(ShadowProperty);
1466             }
1467             set
1468             {
1469                 SetValue(ShadowProperty, value);
1470             }
1471         }
1472
1473         /// <summary>
1474         /// The InputShadow property.
1475         /// </summary>
1476         /// <since_tizen> 6 </since_tizen>
1477         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1478         [EditorBrowsable(EditorBrowsableState.Never)]
1479         public string InputShadow
1480         {
1481             get
1482             {
1483                 return (string)GetValue(InputShadowProperty);
1484             }
1485             set
1486             {
1487                 SetValue(InputShadowProperty, value);
1488             }
1489         }
1490
1491         /// <summary>
1492         /// The Emboss property.
1493         /// </summary>
1494         /// <since_tizen> 6 </since_tizen>
1495         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1496         [EditorBrowsable(EditorBrowsableState.Never)]
1497         public string Emboss
1498         {
1499             get
1500             {
1501                 return (string)GetValue(EmbossProperty);
1502             }
1503             set
1504             {
1505                 SetValue(EmbossProperty, value);
1506             }
1507         }
1508
1509         /// <summary>
1510         /// The InputEmboss property.
1511         /// </summary>
1512         /// <since_tizen> 6 </since_tizen>
1513         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1514         [EditorBrowsable(EditorBrowsableState.Never)]
1515         public string InputEmboss
1516         {
1517             get
1518             {
1519                 return (string)GetValue(InputEmbossProperty);
1520             }
1521             set
1522             {
1523                 SetValue(InputEmbossProperty, value);
1524             }
1525         }
1526
1527         /// <summary>
1528         /// The Outline property.
1529         /// </summary>
1530         /// <since_tizen> 6 </since_tizen>
1531         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1532         [EditorBrowsable(EditorBrowsableState.Never)]
1533         public PropertyMap Outline
1534         {
1535             get
1536             {
1537                 return (PropertyMap)GetValue(OutlineProperty);
1538             }
1539             set
1540             {
1541                 SetValue(OutlineProperty, value);
1542             }
1543         }
1544
1545         /// <summary>
1546         /// The InputOutline property.
1547         /// </summary>
1548         /// <since_tizen> 6 </since_tizen>
1549         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1550         [EditorBrowsable(EditorBrowsableState.Never)]
1551         public string InputOutline
1552         {
1553             get
1554             {
1555                 return (string)GetValue(InputOutlineProperty);
1556             }
1557             set
1558             {
1559                 SetValue(InputOutlineProperty, value);
1560             }
1561         }
1562
1563         /// <summary>
1564         /// The HiddenInputSettings property.
1565         /// </summary>
1566         /// <since_tizen> 6 </since_tizen>
1567         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1568         [EditorBrowsable(EditorBrowsableState.Never)]
1569         public PropertyMap HiddenInputSettings
1570         {
1571             get
1572             {
1573                 return (PropertyMap)GetValue(HiddenInputSettingsProperty);
1574             }
1575             set
1576             {
1577                 SetValue(HiddenInputSettingsProperty, value);
1578             }
1579         }
1580
1581         /// <summary>
1582         /// The PixelSize property.
1583         /// </summary>
1584         /// <since_tizen> 6 </since_tizen>
1585         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1586         [EditorBrowsable(EditorBrowsableState.Never)]
1587         public float PixelSize
1588         {
1589             get
1590             {
1591                 return (float)GetValue(PixelSizeProperty);
1592             }
1593             set
1594             {
1595                 SetValue(PixelSizeProperty, value);
1596             }
1597         }
1598
1599         /// <summary>
1600         /// The Enable selection property.
1601         /// </summary>
1602         /// <since_tizen> 6 </since_tizen>
1603         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1604         [EditorBrowsable(EditorBrowsableState.Never)]
1605         public bool EnableSelection
1606         {
1607             get
1608             {
1609                 return (bool)GetValue(EnableSelectionProperty);
1610             }
1611             set
1612             {
1613                 SetValue(EnableSelectionProperty, value);
1614             }
1615         }
1616
1617         /// <summary>
1618         /// The Placeholder property.
1619         /// Gets or sets the placeholder: text, color, font family, font style, point size, and pixel size.
1620         /// </summary>
1621         /// <example>
1622         /// The following example demonstrates how to set the Placeholder property.
1623         /// <code>
1624         /// PropertyMap propertyMap = new PropertyMap();
1625         /// propertyMap.Add("text", new PropertyValue("Setting Placeholder Text"));
1626         /// propertyMap.Add("textFocused", new PropertyValue("Setting Placeholder Text Focused"));
1627         /// propertyMap.Add("color", new PropertyValue(Color.Red));
1628         /// propertyMap.Add("fontFamily", new PropertyValue("Arial"));
1629         /// propertyMap.Add("pointSize", new PropertyValue(12.0f));
1630         ///
1631         /// PropertyMap fontStyleMap = new PropertyMap();
1632         /// fontStyleMap.Add("weight", new PropertyValue("bold"));
1633         /// fontStyleMap.Add("width", new PropertyValue("condensed"));
1634         /// fontStyleMap.Add("slant", new PropertyValue("italic"));
1635         /// propertyMap.Add("fontStyle", new PropertyValue(fontStyleMap));
1636         ///
1637         /// TextField field = new TextField();
1638         /// field.Placeholder = propertyMap;
1639         /// </code>
1640         /// </example>
1641         /// <since_tizen> 6 </since_tizen>
1642         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1643         [EditorBrowsable(EditorBrowsableState.Never)]
1644         public PropertyMap Placeholder
1645         {
1646             get
1647             {
1648                 return (PropertyMap)GetValue(PlaceholderProperty);
1649             }
1650             set
1651             {
1652                 SetValue(PlaceholderProperty, value);
1653             }
1654         }
1655
1656         /// <summary>
1657         /// The Ellipsis property.<br />
1658         /// Enable or disable the ellipsis.<br />
1659         /// Placeholder PropertyMap is used to add ellipsis to placeholder text.
1660         /// </summary>
1661         /// <since_tizen> 6 </since_tizen>
1662         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1663         [EditorBrowsable(EditorBrowsableState.Never)]
1664         public bool Ellipsis
1665         {
1666             get
1667             {
1668                 return (bool)GetValue(EllipsisProperty);
1669             }
1670             set
1671             {
1672                 SetValue(EllipsisProperty, value);
1673             }
1674         }
1675
1676         /// <summary>
1677         /// Enables selection of the text using the Shift key.
1678         /// </summary>
1679         /// <since_tizen> 6 </since_tizen>
1680         /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
1681         [EditorBrowsable(EditorBrowsableState.Never)]
1682         public bool EnableShiftSelection
1683         {
1684             get
1685             {
1686                 return (bool)GetValue(EnableShiftSelectionProperty);
1687             }
1688             set
1689             {
1690                 SetValue(EnableShiftSelectionProperty, value);
1691             }
1692         }
1693
1694         /// <summary>
1695         /// The text alignment to match the direction of the system language.
1696         /// </summary>
1697         /// <since_tizen> 6 </since_tizen>
1698         /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
1699         [EditorBrowsable(EditorBrowsableState.Never)]
1700         public bool MatchSystemLanguageDirection
1701         {
1702             get
1703             {
1704                 return (bool)GetValue(MatchSystemLanguageDirectionProperty);
1705             }
1706             set
1707             {
1708                 SetValue(MatchSystemLanguageDirectionProperty, value);
1709             }
1710         }
1711     }
1712 }