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