0f6934061489d454ed97eca9a4717b470c7379a5
[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("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("TextColor", typeof(Vector4), typeof(TextEditor), Vector4.Zero, 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("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("FontStyle", typeof(PropertyMap), typeof(TextEditor), new PropertyMap(), 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("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("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("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("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("PrimaryCursorColor", typeof(Vector4), typeof(TextEditor), Vector4.Zero, 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("SecondaryCursorColor", typeof(Vector4), typeof(TextEditor), Vector4.Zero, 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("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("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("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("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("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("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("SelectionHandleImageLeft", typeof(PropertyMap), typeof(TextEditor), new PropertyMap(), 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("SelectionHandleImageRight", typeof(PropertyMap), typeof(TextEditor), new PropertyMap(), 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("SelectionHandlePressedImageLeft", typeof(PropertyMap), typeof(TextEditor), new PropertyMap(), 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("SelectionHandlePressedImageRight", typeof(PropertyMap), typeof(TextEditor), new PropertyMap(), 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("SelectionHandleMarkerImageLeft", typeof(PropertyMap), typeof(TextEditor), new PropertyMap(), 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("SelectionHandleMarkerImageRight", typeof(PropertyMap), typeof(TextEditor), new PropertyMap(), 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("SelectionHighlightColor", typeof(Vector4), typeof(TextEditor), Vector4.Zero, 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("DecorationBoundingBox", typeof(Rectangle), typeof(TextEditor), new Rectangle(0,0,0,0), 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("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("InputColor", typeof(Vector4), typeof(TextEditor), Vector4.Zero, 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("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("InputFontStyle", typeof(PropertyMap), typeof(TextEditor), new PropertyMap(), 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("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("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("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("Underline", typeof(PropertyMap), typeof(TextEditor), new PropertyMap(), 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("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("Shadow", typeof(PropertyMap), typeof(TextEditor), new PropertyMap(), 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("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("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("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("Outline", typeof(PropertyMap), typeof(TextEditor), new PropertyMap(), 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("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("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("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("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("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("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("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("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("PlaceholderTextColor", typeof(Color), typeof(TextEditor), Color.Transparent, 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("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("Placeholder", typeof(PropertyMap), typeof(TextEditor), new PropertyMap(), 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("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("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
921         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
922         private string textEditorTextSid = null;
923         private string textEditorPlaceHolderTextSid = null;
924         private bool systemlangTextFlag = false;
925         private InputMethodContext inputMethodContext = null;
926
927         internal TextEditor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TextEditor_SWIGUpcast(cPtr), cMemoryOwn)
928         {
929             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
930         }
931
932         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TextEditor obj)
933         {
934             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
935         }
936
937         /// <summary>
938         /// Dispose.
939         /// </summary>
940         /// <since_tizen> 3 </since_tizen>
941         protected override void Dispose(DisposeTypes type)
942         {
943             if (disposed)
944             {
945                 return;
946             }
947
948             if(type == DisposeTypes.Explicit)
949             {
950                 //Called by User
951                 //Release your own managed resources here.
952                 //You should release all of your own disposable objects here.
953             }
954
955             //Release your own unmanaged resources here.
956             //You should not access any managed member here except static instance.
957             //because the execution order of Finalizes is non-deterministic.
958
959             if (this.HasBody() && _textEditorTextChangedCallbackDelegate != null)
960             {
961                 TextChangedSignal().Disconnect(_textEditorTextChangedCallbackDelegate);
962             }
963
964             if (swigCPtr.Handle != global::System.IntPtr.Zero)
965             {
966                 if (swigCMemOwn)
967                 {
968                     swigCMemOwn = false;
969                     // In order to speed up IME hide, temporarily add
970                     GetInputMethodContext()?.DestroyContext();
971                     NDalicPINVOKE.delete_TextEditor(swigCPtr);
972                 }
973                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
974             }
975
976             base.Dispose(type);
977         }
978
979         /// <summary>
980         /// Event arguments that passed via the TextChanged signal.
981         /// </summary>
982         /// <since_tizen> 3 </since_tizen>
983         public class TextChangedEventArgs : EventArgs
984         {
985             private TextEditor _textEditor;
986
987             /// <summary>
988             /// TextEditor - is the texteditor control which has the text contents changed.
989             /// </summary>
990             /// <since_tizen> 3 </since_tizen>
991             public TextEditor TextEditor
992             {
993                 get
994                 {
995                     return _textEditor;
996                 }
997                 set
998                 {
999                     _textEditor = value;
1000                 }
1001             }
1002         }
1003
1004         [UnmanagedFunctionPointer(CallingConvention.StdCall)]
1005         private delegate void TextChangedCallbackDelegate(IntPtr textEditor);
1006         private EventHandler<TextChangedEventArgs> _textEditorTextChangedEventHandler;
1007         private TextChangedCallbackDelegate _textEditorTextChangedCallbackDelegate;
1008
1009         /// <summary>
1010         /// An event for the TextChanged signal which can be used to subscribe or unsubscribe the event handler
1011         /// provided by the user. The TextChanged signal is emitted when the text changes.<br />
1012         /// </summary>
1013         /// <since_tizen> 3 </since_tizen>
1014         public event EventHandler<TextChangedEventArgs> TextChanged
1015         {
1016             add
1017             {
1018                 if (_textEditorTextChangedEventHandler == null)
1019                 {
1020                     _textEditorTextChangedCallbackDelegate = (OnTextChanged);
1021                     TextChangedSignal().Connect(_textEditorTextChangedCallbackDelegate);
1022                 }
1023                 _textEditorTextChangedEventHandler += value;
1024             }
1025             remove
1026             {
1027                 _textEditorTextChangedEventHandler -= value;
1028                 if (_textEditorTextChangedEventHandler == null && TextChangedSignal().Empty() == false)
1029                 {
1030                     TextChangedSignal().Disconnect(_textEditorTextChangedCallbackDelegate);
1031                 }
1032             }
1033         }
1034
1035         private void OnTextChanged(IntPtr textEditor)
1036         {
1037             TextChangedEventArgs e = new TextChangedEventArgs();
1038
1039             // Populate all members of "e" (TextChangedEventArgs) with real data
1040             e.TextEditor = Registry.GetManagedBaseHandleFromNativePtr(textEditor) as TextEditor;
1041
1042             if (_textEditorTextChangedEventHandler != null)
1043             {
1044                 //here we send all data to user event handlers
1045                 _textEditorTextChangedEventHandler(this, e);
1046             }
1047
1048         }
1049
1050         /// <summary>
1051         /// Event arguments that passed via the ScrollStateChanged signal.
1052         /// </summary>
1053         /// <since_tizen> 3 </since_tizen>
1054         public class ScrollStateChangedEventArgs : EventArgs
1055         {
1056             private TextEditor _textEditor;
1057             private ScrollState _scrollState;
1058
1059             /// <summary>
1060             /// TextEditor - is the texteditor control which has the scroll state changed.
1061             /// </summary>
1062             /// <since_tizen> 3 </since_tizen>
1063             public TextEditor TextEditor
1064             {
1065                 get
1066                 {
1067                     return _textEditor;
1068                 }
1069                 set
1070                 {
1071                     _textEditor = value;
1072                 }
1073             }
1074
1075             /// <summary>
1076             /// ScrollState - is the texteditor control scroll state.
1077             /// </summary>
1078             /// <since_tizen> 3 </since_tizen>
1079             public ScrollState ScrollState
1080             {
1081                 get
1082                 {
1083                     return _scrollState;
1084                 }
1085                 set
1086                 {
1087                     _scrollState = value;
1088                 }
1089             }
1090         }
1091
1092         [UnmanagedFunctionPointer(CallingConvention.StdCall)]
1093         private delegate void ScrollStateChangedCallbackDelegate(IntPtr textEditor, ScrollState state);
1094         private EventHandler<ScrollStateChangedEventArgs> _textEditorScrollStateChangedEventHandler;
1095         private ScrollStateChangedCallbackDelegate _textEditorScrollStateChangedCallbackDelegate;
1096
1097         /// <summary>
1098         /// Event for the ScrollStateChanged signal which can be used to subscribe or unsubscribe the event handler
1099         /// provided by the user. The ScrollStateChanged signal is emitted when the scroll state changes.<br />
1100         /// </summary>
1101         /// <since_tizen> 3 </since_tizen>
1102         public event EventHandler<ScrollStateChangedEventArgs> ScrollStateChanged
1103         {
1104             add
1105             {
1106                 if (_textEditorScrollStateChangedEventHandler == null)
1107                 {
1108                     _textEditorScrollStateChangedCallbackDelegate = OnScrollStateChanged;
1109                     ScrollStateChangedSignal(this).Connect(_textEditorScrollStateChangedCallbackDelegate);
1110                 }
1111                 _textEditorScrollStateChangedEventHandler += value;
1112             }
1113             remove
1114             {
1115                 _textEditorScrollStateChangedEventHandler -= value;
1116                 if (_textEditorScrollStateChangedEventHandler == null && ScrollStateChangedSignal(this).Empty() == false)
1117                 {
1118                     ScrollStateChangedSignal(this).Disconnect(_textEditorScrollStateChangedCallbackDelegate);
1119                 }
1120             }
1121         }
1122
1123         private void OnScrollStateChanged(IntPtr textEditor, ScrollState state)
1124         {
1125             ScrollStateChangedEventArgs e = new ScrollStateChangedEventArgs();
1126
1127             if (textEditor != global::System.IntPtr.Zero)
1128             {
1129                 // Populate all members of "e" (ScrollStateChangedEventArgs) with real data
1130                 e.TextEditor = Registry.GetManagedBaseHandleFromNativePtr(textEditor) as TextEditor;
1131                 e.ScrollState = state;
1132             }
1133
1134             if (_textEditorScrollStateChangedEventHandler != null)
1135             {
1136                 //here we send all data to user event handlers
1137                 _textEditorScrollStateChangedEventHandler(this, e);
1138             }
1139         }
1140
1141         internal new class Property
1142         {
1143             internal static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextEditor_Property_RENDERING_BACKEND_get();
1144             internal static readonly int TEXT = NDalicPINVOKE.TextEditor_Property_TEXT_get();
1145             internal static readonly int TEXT_COLOR = NDalicPINVOKE.TextEditor_Property_TEXT_COLOR_get();
1146             internal static readonly int FONT_FAMILY = NDalicPINVOKE.TextEditor_Property_FONT_FAMILY_get();
1147             internal static readonly int FONT_STYLE = NDalicPINVOKE.TextEditor_Property_FONT_STYLE_get();
1148             internal static readonly int POINT_SIZE = NDalicPINVOKE.TextEditor_Property_POINT_SIZE_get();
1149             internal static readonly int HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TextEditor_Property_HORIZONTAL_ALIGNMENT_get();
1150             internal static readonly int SCROLL_THRESHOLD = NDalicPINVOKE.TextEditor_Property_SCROLL_THRESHOLD_get();
1151             internal static readonly int SCROLL_SPEED = NDalicPINVOKE.TextEditor_Property_SCROLL_SPEED_get();
1152             internal static readonly int PRIMARY_CURSOR_COLOR = NDalicPINVOKE.TextEditor_Property_PRIMARY_CURSOR_COLOR_get();
1153             internal static readonly int SECONDARY_CURSOR_COLOR = NDalicPINVOKE.TextEditor_Property_SECONDARY_CURSOR_COLOR_get();
1154             internal static readonly int ENABLE_CURSOR_BLINK = NDalicPINVOKE.TextEditor_Property_ENABLE_CURSOR_BLINK_get();
1155             internal static readonly int CURSOR_BLINK_INTERVAL = NDalicPINVOKE.TextEditor_Property_CURSOR_BLINK_INTERVAL_get();
1156             internal static readonly int CURSOR_BLINK_DURATION = NDalicPINVOKE.TextEditor_Property_CURSOR_BLINK_DURATION_get();
1157             internal static readonly int CURSOR_WIDTH = NDalicPINVOKE.TextEditor_Property_CURSOR_WIDTH_get();
1158             internal static readonly int GRAB_HANDLE_IMAGE = NDalicPINVOKE.TextEditor_Property_GRAB_HANDLE_IMAGE_get();
1159             internal static readonly int GRAB_HANDLE_PRESSED_IMAGE = NDalicPINVOKE.TextEditor_Property_GRAB_HANDLE_PRESSED_IMAGE_get();
1160             internal static readonly int SELECTION_HANDLE_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_IMAGE_LEFT_get();
1161             internal static readonly int SELECTION_HANDLE_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_IMAGE_RIGHT_get();
1162             internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_LEFT_get();
1163             internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT_get();
1164             internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_LEFT_get();
1165             internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_RIGHT_get();
1166             internal static readonly int SELECTION_HIGHLIGHT_COLOR = NDalicPINVOKE.TextEditor_Property_SELECTION_HIGHLIGHT_COLOR_get();
1167             internal static readonly int DECORATION_BOUNDING_BOX = NDalicPINVOKE.TextEditor_Property_DECORATION_BOUNDING_BOX_get();
1168             internal static readonly int ENABLE_MARKUP = NDalicPINVOKE.TextEditor_Property_ENABLE_MARKUP_get();
1169             internal static readonly int INPUT_COLOR = NDalicPINVOKE.TextEditor_Property_INPUT_COLOR_get();
1170             internal static readonly int INPUT_FONT_FAMILY = NDalicPINVOKE.TextEditor_Property_INPUT_FONT_FAMILY_get();
1171             internal static readonly int INPUT_FONT_STYLE = NDalicPINVOKE.TextEditor_Property_INPUT_FONT_STYLE_get();
1172             internal static readonly int INPUT_POINT_SIZE = NDalicPINVOKE.TextEditor_Property_INPUT_POINT_SIZE_get();
1173             internal static readonly int LINE_SPACING = NDalicPINVOKE.TextEditor_Property_LINE_SPACING_get();
1174             internal static readonly int INPUT_LINE_SPACING = NDalicPINVOKE.TextEditor_Property_INPUT_LINE_SPACING_get();
1175             internal static readonly int UNDERLINE = NDalicPINVOKE.TextEditor_Property_UNDERLINE_get();
1176             internal static readonly int INPUT_UNDERLINE = NDalicPINVOKE.TextEditor_Property_INPUT_UNDERLINE_get();
1177             internal static readonly int SHADOW = NDalicPINVOKE.TextEditor_Property_SHADOW_get();
1178             internal static readonly int INPUT_SHADOW = NDalicPINVOKE.TextEditor_Property_INPUT_SHADOW_get();
1179             internal static readonly int EMBOSS = NDalicPINVOKE.TextEditor_Property_EMBOSS_get();
1180             internal static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextEditor_Property_INPUT_EMBOSS_get();
1181             internal static readonly int OUTLINE = NDalicPINVOKE.TextEditor_Property_OUTLINE_get();
1182             internal static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextEditor_Property_INPUT_OUTLINE_get();
1183             internal static readonly int SMOOTH_SCROLL = NDalicManualPINVOKE.TextEditor_Property_SMOOTH_SCROLL_get();
1184             internal static readonly int SMOOTH_SCROLL_DURATION = NDalicManualPINVOKE.TextEditor_Property_SMOOTH_SCROLL_DURATION_get();
1185             internal static readonly int ENABLE_SCROLL_BAR = NDalicManualPINVOKE.TextEditor_Property_ENABLE_SCROLL_BAR_get();
1186             internal static readonly int SCROLL_BAR_SHOW_DURATION = NDalicManualPINVOKE.TextEditor_Property_SCROLL_BAR_SHOW_DURATION_get();
1187             internal static readonly int SCROLL_BAR_FADE_DURATION = NDalicManualPINVOKE.TextEditor_Property_SCROLL_BAR_FADE_DURATION_get();
1188             internal static readonly int PIXEL_SIZE = NDalicManualPINVOKE.TextEditor_Property_PIXEL_SIZE_get();
1189             internal static readonly int LINE_COUNT = NDalicManualPINVOKE.TextEditor_Property_LINE_COUNT_get();
1190             internal static readonly int ENABLE_SELECTION = NDalicManualPINVOKE.TextEditor_Property_ENABLE_SELECTION_get();
1191             internal static readonly int PLACEHOLDER = NDalicManualPINVOKE.TextEditor_Property_PLACEHOLDER_get();
1192             internal static readonly int LINE_WRAP_MODE = NDalicManualPINVOKE.TextEditor_Property_LINE_WRAP_MODE_get();
1193             internal static readonly int PLACEHOLDER_TEXT = NDalicManualPINVOKE.TextEditor_Property_PLACEHOLDER_TEXT_get();
1194             internal static readonly int PLACEHOLDER_TEXT_COLOR = NDalicManualPINVOKE.TextEditor_Property_PLACEHOLDER_TEXT_COLOR_get();
1195             internal static readonly int ENABLE_SHIFT_SELECTION = NDalicManualPINVOKE.TextEditor_Property_ENABLE_SHIFT_SELECTION_get();
1196         }
1197
1198         internal class InputStyle
1199         {
1200             internal enum Mask
1201             {
1202                 None = 0x0000,
1203                 Color = 0x0001,
1204                 FontFamily = 0x0002,
1205                 PointSize = 0x0004,
1206                 FontStyle = 0x0008,
1207                 LineSpacing = 0x0010,
1208                 Underline = 0x0020,
1209                 Shadow = 0x0040,
1210                 Emboss = 0x0080,
1211                 Outline = 0x0100
1212             }
1213         }
1214
1215         /// <summary>
1216         /// Creates the TextEditor control.
1217         /// </summary>
1218         /// <since_tizen> 3 </since_tizen>
1219         public TextEditor() : this(NDalicPINVOKE.TextEditor_New(), true)
1220         {
1221             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1222         }
1223
1224         internal override bool IsCreateByXaml
1225         {
1226             get
1227             {
1228                 return base.IsCreateByXaml;
1229             }
1230             set
1231             {
1232                 base.IsCreateByXaml = value;
1233
1234                 if (value == true)
1235                 {
1236                     this.TextChanged += (obj, e) =>
1237                     {
1238                         this.Text = this.Text;
1239                     };
1240                 }
1241             }
1242         }
1243
1244         internal TextEditor(TextEditor handle) : this(NDalicPINVOKE.new_TextEditor__SWIG_1(TextEditor.getCPtr(handle)), true)
1245         {
1246             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1247         }
1248
1249         /// <summary>
1250         /// Get the InputMethodContext instance.
1251         /// </summary>
1252         /// <returns>The InputMethodContext instance.</returns>
1253         /// <since_tizen> 5 </since_tizen>
1254         public InputMethodContext GetInputMethodContext()
1255         {
1256             if (inputMethodContext == null)
1257             {
1258                 /*Avoid raising InputMethodContext reference count.*/
1259                 inputMethodContext = new InputMethodContext(NDalicPINVOKE.TextEditor_GetInputMethodContext(swigCPtr), true);
1260                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1261             }
1262             return inputMethodContext;
1263         }
1264
1265         internal TextEditorSignal TextChangedSignal()
1266         {
1267             TextEditorSignal ret = new TextEditorSignal(NDalicPINVOKE.TextEditor_TextChangedSignal(swigCPtr), false);
1268             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1269             return ret;
1270         }
1271
1272         internal ScrollStateChangedSignal ScrollStateChangedSignal(TextEditor textEditor)
1273         {
1274             ScrollStateChangedSignal ret = new ScrollStateChangedSignal(NDalicManualPINVOKE.TextEditor_ScrollStateChangedSignal(TextEditor.getCPtr(textEditor)), false);
1275             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1276             return ret;
1277         }
1278
1279         internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t InputStyleChangedSignal()
1280         {
1281             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(NDalicPINVOKE.TextEditor_InputStyleChangedSignal(swigCPtr), false);
1282             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1283             return ret;
1284         }
1285
1286         /// <summary>
1287         /// The TranslatableText property.<br />
1288         /// The text can set the SID value.<br />
1289         /// </summary>
1290         /// <exception cref='ArgumentNullException'>
1291         /// ResourceManager about multilingual is null.
1292         /// </exception>
1293         /// <since_tizen> 4 </since_tizen>
1294         public string TranslatableText
1295         {
1296             get
1297             {
1298                 return textEditorTextSid;
1299             }
1300             set
1301             {
1302                 if (NUIApplication.MultilingualResourceManager == null)
1303                 {
1304                     throw new ArgumentNullException("ResourceManager about multilingual is null");
1305                 }
1306                 textEditorTextSid = value;
1307                 Text = SetTranslatable(textEditorTextSid);
1308                 NotifyPropertyChanged();
1309             }
1310         }
1311         /// <summary>
1312         /// The TranslatablePlaceholderText property.<br />
1313         /// The text can set the SID value.<br />
1314         /// </summary>
1315         /// <exception cref='ArgumentNullException'>
1316         /// ResourceManager about multilingual is null.
1317         /// </exception>
1318         /// <since_tizen> 4 </since_tizen>
1319         public string TranslatablePlaceholderText
1320         {
1321             get
1322             {
1323                 return textEditorPlaceHolderTextSid;
1324             }
1325             set
1326             {
1327                 if (NUIApplication.MultilingualResourceManager == null)
1328                 {
1329                     throw new ArgumentNullException("ResourceManager about multilingual is null");
1330                 }
1331                 textEditorPlaceHolderTextSid = value;
1332                 PlaceholderText = SetTranslatable(textEditorPlaceHolderTextSid);
1333                 NotifyPropertyChanged();
1334             }
1335         }
1336         private string SetTranslatable(string textEditorSid)
1337         {
1338             string translatableText = null;
1339             translatableText = NUIApplication.MultilingualResourceManager?.GetString(textEditorSid, new CultureInfo(SystemSettings.LocaleLanguage.Replace("_", "-")));
1340             if (translatableText != null)
1341             {
1342                 if (systemlangTextFlag == false)
1343                 {
1344                     SystemSettings.LocaleLanguageChanged += new WeakEventHandler<LocaleLanguageChangedEventArgs>(SystemSettings_LocaleLanguageChanged).Handler;
1345                     systemlangTextFlag = true;
1346                 }
1347                 return translatableText;
1348             }
1349             else
1350             {
1351                 translatableText = "";
1352                 return translatableText;
1353             }
1354         }
1355         private void SystemSettings_LocaleLanguageChanged(object sender, LocaleLanguageChangedEventArgs e)
1356         {
1357             if (textEditorTextSid != null)
1358             {
1359                 Text = NUIApplication.MultilingualResourceManager?.GetString(textEditorTextSid, new CultureInfo(e.Value.Replace("_", "-")));
1360             }
1361             if (textEditorPlaceHolderTextSid != null)
1362             {
1363                 PlaceholderText = NUIApplication.MultilingualResourceManager?.GetString(textEditorPlaceHolderTextSid, new CultureInfo(e.Value.Replace("_", "-")));
1364             }
1365         }
1366         /// <summary>
1367         /// The Text property.
1368         /// </summary>
1369         /// <since_tizen> 3 </since_tizen>
1370         public string Text
1371         {
1372             get
1373             {
1374                 return (string)GetValue(TextProperty);
1375             }
1376             set
1377             {
1378                 SetValueAndForceSendChangeSignal(TextProperty, value);
1379                 NotifyPropertyChanged();
1380             }
1381         }
1382
1383         /// <summary>
1384         /// The TextColor property.
1385         /// </summary>
1386         /// <since_tizen> 3 </since_tizen>
1387         public Vector4 TextColor
1388         {
1389             get
1390             {
1391                 return (Vector4)GetValue(TextColorProperty);
1392             }
1393             set
1394             {
1395                 SetValue(TextColorProperty, value);
1396                 NotifyPropertyChanged();
1397             }
1398         }
1399
1400         /// <summary>
1401         /// The FontFamily property.
1402         /// </summary>
1403         /// <since_tizen> 3 </since_tizen>
1404         public string FontFamily
1405         {
1406             get
1407             {
1408                 return (string)GetValue(FontFamilyProperty);
1409             }
1410             set
1411             {
1412                 SetValue(FontFamilyProperty, value);
1413                 NotifyPropertyChanged();
1414             }
1415         }
1416
1417         /// <summary>
1418         /// The FontStyle property.
1419         /// </summary>
1420         /// <since_tizen> 3 </since_tizen>
1421         public PropertyMap FontStyle
1422         {
1423             get
1424             {
1425                 return (PropertyMap)GetValue(FontStyleProperty);
1426             }
1427             set
1428             {
1429                 SetValue(FontStyleProperty, value);
1430                 NotifyPropertyChanged();
1431             }
1432         }
1433
1434         /// <summary>
1435         /// The PointSize property.
1436         /// </summary>
1437         /// <since_tizen> 3 </since_tizen>
1438         public float PointSize
1439         {
1440             get
1441             {
1442                 return (float)GetValue(PointSizeProperty);
1443             }
1444             set
1445             {
1446                 SetValue(PointSizeProperty, value);
1447                 NotifyPropertyChanged();
1448             }
1449         }
1450
1451         /// <summary>
1452         /// The HorizontalAlignment property.
1453         /// </summary>
1454         /// <since_tizen> 3 </since_tizen>
1455         public HorizontalAlignment HorizontalAlignment
1456         {
1457             get
1458             {
1459                 return (HorizontalAlignment)GetValue(HorizontalAlignmentProperty);
1460             }
1461             set
1462             {
1463                 SetValue(HorizontalAlignmentProperty, value);
1464                 NotifyPropertyChanged();
1465             }
1466         }
1467
1468         /// <summary>
1469         /// The ScrollThreshold property.
1470         /// </summary>
1471         /// <since_tizen> 3 </since_tizen>
1472         public float ScrollThreshold
1473         {
1474             get
1475             {
1476                 return (float)GetValue(ScrollThresholdProperty);
1477             }
1478             set
1479             {
1480                 SetValue(ScrollThresholdProperty, value);
1481                 NotifyPropertyChanged();
1482             }
1483         }
1484
1485         /// <summary>
1486         /// The ScrollSpeed property.
1487         /// </summary>
1488         /// <since_tizen> 3 </since_tizen>
1489         public float ScrollSpeed
1490         {
1491             get
1492             {
1493                 return (float)GetValue(ScrollSpeedProperty);
1494             }
1495             set
1496             {
1497                 SetValue(ScrollSpeedProperty, value);
1498                 NotifyPropertyChanged();
1499             }
1500         }
1501
1502         /// <summary>
1503         /// The PrimaryCursorColor property.
1504         /// </summary>
1505         /// <since_tizen> 3 </since_tizen>
1506         public Vector4 PrimaryCursorColor
1507         {
1508             get
1509             {
1510                 return (Vector4)GetValue(PrimaryCursorColorProperty);
1511             }
1512             set
1513             {
1514                 SetValue(PrimaryCursorColorProperty, value);
1515                 NotifyPropertyChanged();
1516             }
1517         }
1518
1519         /// <summary>
1520         /// The SecondaryCursorColor property.
1521         /// </summary>
1522         /// <since_tizen> 3 </since_tizen>
1523         public Vector4 SecondaryCursorColor
1524         {
1525             get
1526             {
1527                 return (Vector4)GetValue(SecondaryCursorColorProperty);
1528             }
1529             set
1530             {
1531                 SetValue(SecondaryCursorColorProperty, value);
1532                 NotifyPropertyChanged();
1533             }
1534         }
1535
1536         /// <summary>
1537         /// The EnableCursorBlink property.
1538         /// </summary>
1539         /// <since_tizen> 3 </since_tizen>
1540         public bool EnableCursorBlink
1541         {
1542             get
1543             {
1544                 return (bool)GetValue(EnableCursorBlinkProperty);
1545             }
1546             set
1547             {
1548                 SetValue(EnableCursorBlinkProperty, value);
1549                 NotifyPropertyChanged();
1550             }
1551         }
1552
1553         /// <summary>
1554         /// The CursorBlinkInterval property.
1555         /// </summary>
1556         /// <since_tizen> 3 </since_tizen>
1557         public float CursorBlinkInterval
1558         {
1559             get
1560             {
1561                 return (float)GetValue(CursorBlinkIntervalProperty);
1562             }
1563             set
1564             {
1565                 SetValue(CursorBlinkIntervalProperty, value);
1566                 NotifyPropertyChanged();
1567             }
1568         }
1569
1570         /// <summary>
1571         /// The CursorBlinkDuration property.
1572         /// </summary>
1573         /// <since_tizen> 3 </since_tizen>
1574         public float CursorBlinkDuration
1575         {
1576             get
1577             {
1578                 return (float)GetValue(CursorBlinkDurationProperty);
1579             }
1580             set
1581             {
1582                 SetValue(CursorBlinkDurationProperty, value);
1583                 NotifyPropertyChanged();
1584             }
1585         }
1586
1587         /// <summary>
1588         /// The CursorWidth property.
1589         /// </summary>
1590         /// <since_tizen> 3 </since_tizen>
1591         public int CursorWidth
1592         {
1593             get
1594             {
1595                 return (int)GetValue(CursorWidthProperty);
1596             }
1597             set
1598             {
1599                 SetValue(CursorWidthProperty, value);
1600                 NotifyPropertyChanged();
1601             }
1602         }
1603
1604         /// <summary>
1605         /// The GrabHandleImage property.
1606         /// </summary>
1607         /// <since_tizen> 3 </since_tizen>
1608         public string GrabHandleImage
1609         {
1610             get
1611             {
1612                 return (string)GetValue(GrabHandleImageProperty);
1613             }
1614             set
1615             {
1616                 SetValue(GrabHandleImageProperty, value);
1617                 NotifyPropertyChanged();
1618             }
1619         }
1620
1621         /// <summary>
1622         /// The GrabHandlePressedImage property.
1623         /// </summary>
1624         /// <since_tizen> 3 </since_tizen>
1625         public string GrabHandlePressedImage
1626         {
1627             get
1628             {
1629                 return (string)GetValue(GrabHandlePressedImageProperty);
1630             }
1631             set
1632             {
1633                 SetValue(GrabHandlePressedImageProperty, value);
1634                 NotifyPropertyChanged();
1635             }
1636         }
1637
1638         /// <summary>
1639         /// The SelectionHandleImageLeft property.
1640         /// </summary>
1641         /// <since_tizen> 3 </since_tizen>
1642         public PropertyMap SelectionHandleImageLeft
1643         {
1644             get
1645             {
1646                 return (PropertyMap)GetValue(SelectionHandleImageLeftProperty);
1647             }
1648             set
1649             {
1650                 SetValue(SelectionHandleImageLeftProperty, value);
1651                 NotifyPropertyChanged();
1652             }
1653         }
1654
1655         /// <summary>
1656         /// The SelectionHandleImageRight property.
1657         /// </summary>
1658         /// <since_tizen> 3 </since_tizen>
1659         public PropertyMap SelectionHandleImageRight
1660         {
1661             get
1662             {
1663                 return (PropertyMap)GetValue(SelectionHandleImageRightProperty);
1664             }
1665             set
1666             {
1667                 SetValue(SelectionHandleImageRightProperty, value);
1668                 NotifyPropertyChanged();
1669             }
1670         }
1671
1672         /// <summary>
1673         /// The SelectionHandlePressedImageLeft property.
1674         /// </summary>
1675         /// <since_tizen> 3 </since_tizen>
1676         public PropertyMap SelectionHandlePressedImageLeft
1677         {
1678             get
1679             {
1680                 return (PropertyMap)GetValue(SelectionHandlePressedImageLeftProperty);
1681             }
1682             set
1683             {
1684                 SetValue(SelectionHandlePressedImageLeftProperty, value);
1685                 NotifyPropertyChanged();
1686             }
1687         }
1688
1689         /// <summary>
1690         /// The SelectionHandlePressedImageRight property.
1691         /// </summary>
1692         /// <since_tizen> 3 </since_tizen>
1693         public PropertyMap SelectionHandlePressedImageRight
1694         {
1695             get
1696             {
1697                 return (PropertyMap)GetValue(SelectionHandlePressedImageRightProperty);
1698             }
1699             set
1700             {
1701                 SetValue(SelectionHandlePressedImageRightProperty, value);
1702                 NotifyPropertyChanged();
1703             }
1704         }
1705
1706         /// <summary>
1707         /// The SelectionHandleMarkerImageLeft property.
1708         /// </summary>
1709         /// <since_tizen> 3 </since_tizen>
1710         public PropertyMap SelectionHandleMarkerImageLeft
1711         {
1712             get
1713             {
1714                 return (PropertyMap)GetValue(SelectionHandleMarkerImageLeftProperty);
1715             }
1716             set
1717             {
1718                 SetValue(SelectionHandleMarkerImageLeftProperty, value);
1719                 NotifyPropertyChanged();
1720             }
1721         }
1722
1723         /// <summary>
1724         /// The SelectionHandleMarkerImageRight property.
1725         /// </summary>
1726         /// <since_tizen> 3 </since_tizen>
1727         public PropertyMap SelectionHandleMarkerImageRight
1728         {
1729             get
1730             {
1731                 return (PropertyMap)GetValue(SelectionHandleMarkerImageRightProperty);
1732             }
1733             set
1734             {
1735                 SetValue(SelectionHandleMarkerImageRightProperty, value);
1736                 NotifyPropertyChanged();
1737             }
1738         }
1739
1740         /// <summary>
1741         /// The SelectionHighlightColor property.
1742         /// </summary>
1743         /// <since_tizen> 3 </since_tizen>
1744         public Vector4 SelectionHighlightColor
1745         {
1746             get
1747             {
1748                 return (Vector4)GetValue(SelectionHighlightColorProperty);
1749             }
1750             set
1751             {
1752                 SetValue(SelectionHighlightColorProperty, value);
1753                 NotifyPropertyChanged();
1754             }
1755         }
1756
1757         /// <summary>
1758         /// The DecorationBoundingBox property.
1759         /// </summary>
1760         /// <since_tizen> 3 </since_tizen>
1761         public Rectangle DecorationBoundingBox
1762         {
1763             get
1764             {
1765                 return (Rectangle)GetValue(DecorationBoundingBoxProperty);
1766             }
1767             set
1768             {
1769                 SetValue(DecorationBoundingBoxProperty, value);
1770                 NotifyPropertyChanged();
1771             }
1772         }
1773
1774         /// <summary>
1775         /// The EnableMarkup property.
1776         /// </summary>
1777         /// <since_tizen> 3 </since_tizen>
1778         public bool EnableMarkup
1779         {
1780             get
1781             {
1782                 return (bool)GetValue(EnableMarkupProperty);
1783             }
1784             set
1785             {
1786                 SetValue(EnableMarkupProperty, value);
1787                 NotifyPropertyChanged();
1788             }
1789         }
1790
1791         /// <summary>
1792         /// The InputColor property.
1793         /// </summary>
1794         /// <since_tizen> 3 </since_tizen>
1795         public Vector4 InputColor
1796         {
1797             get
1798             {
1799                 return (Vector4)GetValue(InputColorProperty);
1800             }
1801             set
1802             {
1803                 SetValue(InputColorProperty, value);
1804                 NotifyPropertyChanged();
1805             }
1806         }
1807
1808         /// <summary>
1809         /// The InputFontFamily property.
1810         /// </summary>
1811         /// <since_tizen> 3 </since_tizen>
1812         public string InputFontFamily
1813         {
1814             get
1815             {
1816                 return (string)GetValue(InputFontFamilyProperty);
1817             }
1818             set
1819             {
1820                 SetValue(InputFontFamilyProperty, value);
1821                 NotifyPropertyChanged();
1822             }
1823         }
1824
1825         /// <summary>
1826         /// The InputFontStyle property.
1827         /// </summary>
1828         /// <since_tizen> 3 </since_tizen>
1829         public PropertyMap InputFontStyle
1830         {
1831             get
1832             {
1833                 return (PropertyMap)GetValue(InputFontStyleProperty);
1834             }
1835             set
1836             {
1837                 SetValue(InputFontStyleProperty, value);
1838                 NotifyPropertyChanged();
1839             }
1840         }
1841
1842         /// <summary>
1843         /// The InputPointSize property.
1844         /// </summary>
1845         /// <since_tizen> 3 </since_tizen>
1846         public float InputPointSize
1847         {
1848             get
1849             {
1850                 return (float)GetValue(InputPointSizeProperty);
1851             }
1852             set
1853             {
1854                 SetValue(InputPointSizeProperty, value);
1855                 NotifyPropertyChanged();
1856             }
1857         }
1858
1859         /// <summary>
1860         /// The LineSpacing property.
1861         /// </summary>
1862         /// <since_tizen> 3 </since_tizen>
1863         public float LineSpacing
1864         {
1865             get
1866             {
1867                 return (float)GetValue(LineSpacingProperty);
1868             }
1869             set
1870             {
1871                 SetValue(LineSpacingProperty, value);
1872                 NotifyPropertyChanged();
1873             }
1874         }
1875
1876         /// <summary>
1877         /// The InputLineSpacing property.
1878         /// </summary>
1879         /// <since_tizen> 3 </since_tizen>
1880         public float InputLineSpacing
1881         {
1882             get
1883             {
1884                 return (float)GetValue(InputLineSpacingProperty);
1885             }
1886             set
1887             {
1888                 SetValue(InputLineSpacingProperty, value);
1889                 NotifyPropertyChanged();
1890             }
1891         }
1892
1893         /// <summary>
1894         /// The Underline property.
1895         /// </summary>
1896         /// <since_tizen> 3 </since_tizen>
1897         public PropertyMap Underline
1898         {
1899             get
1900             {
1901                 return (PropertyMap)GetValue(UnderlineProperty);
1902             }
1903             set
1904             {
1905                 SetValue(UnderlineProperty, value);
1906                 NotifyPropertyChanged();
1907             }
1908         }
1909
1910         /// <summary>
1911         /// The InputUnderline property.
1912         /// </summary>
1913         /// <since_tizen> 3 </since_tizen>
1914         public string InputUnderline
1915         {
1916             get
1917             {
1918                 return (string)GetValue(InputUnderlineProperty);
1919             }
1920             set
1921             {
1922                 SetValue(InputUnderlineProperty, value);
1923                 NotifyPropertyChanged();
1924             }
1925         }
1926
1927         /// <summary>
1928         /// The Shadow property.
1929         /// </summary>
1930         /// <since_tizen> 3 </since_tizen>
1931         public PropertyMap Shadow
1932         {
1933             get
1934             {
1935                 return (PropertyMap)GetValue(ShadowProperty);
1936             }
1937             set
1938             {
1939                 SetValue(ShadowProperty, value);
1940                 NotifyPropertyChanged();
1941             }
1942         }
1943
1944         /// <summary>
1945         /// The InputShadow property.
1946         /// </summary>
1947         /// <since_tizen> 3 </since_tizen>
1948         public string InputShadow
1949         {
1950             get
1951             {
1952                 return (string)GetValue(InputShadowProperty);
1953             }
1954             set
1955             {
1956                 SetValue(InputShadowProperty, value);
1957                 NotifyPropertyChanged();
1958             }
1959         }
1960
1961         /// <summary>
1962         /// The Emboss property.
1963         /// </summary>
1964         /// <since_tizen> 3 </since_tizen>
1965         public string Emboss
1966         {
1967             get
1968             {
1969                 return (string)GetValue(EmbossProperty);
1970             }
1971             set
1972             {
1973                 SetValue(EmbossProperty, value);
1974                 NotifyPropertyChanged();
1975             }
1976         }
1977
1978         /// <summary>
1979         /// The InputEmboss property.
1980         /// </summary>
1981         /// <since_tizen> 3 </since_tizen>
1982         public string InputEmboss
1983         {
1984             get
1985             {
1986                 return (string)GetValue(InputEmbossProperty);
1987             }
1988             set
1989             {
1990                 SetValue(InputEmbossProperty, value);
1991                 NotifyPropertyChanged();
1992             }
1993         }
1994
1995         /// <summary>
1996         /// The Outline property.
1997         /// </summary>
1998         /// <since_tizen> 3 </since_tizen>
1999         public PropertyMap Outline
2000         {
2001             get
2002             {
2003                 return (PropertyMap)GetValue(OutlineProperty);
2004             }
2005             set
2006             {
2007                 SetValue(OutlineProperty, value);
2008                 NotifyPropertyChanged();
2009             }
2010         }
2011
2012         /// <summary>
2013         /// The InputOutline property.
2014         /// </summary>
2015         /// <since_tizen> 3 </since_tizen>
2016         public string InputOutline
2017         {
2018             get
2019             {
2020                 return (string)GetValue(InputOutlineProperty);
2021             }
2022             set
2023             {
2024                 SetValue(InputOutlineProperty, value);
2025                 NotifyPropertyChanged();
2026             }
2027         }
2028
2029         /// <summary>
2030         /// The SmoothScroll property.
2031         /// </summary>
2032         /// <since_tizen> 3 </since_tizen>
2033         public bool SmoothScroll
2034         {
2035             get
2036             {
2037                 return (bool)GetValue(SmoothScrollProperty);
2038             }
2039             set
2040             {
2041                 SetValue(SmoothScrollProperty, value);
2042                 NotifyPropertyChanged();
2043             }
2044         }
2045
2046         /// <summary>
2047         /// The SmoothScrollDuration property.
2048         /// </summary>
2049         /// <since_tizen> 3 </since_tizen>
2050         public float SmoothScrollDuration
2051         {
2052             get
2053             {
2054                 return (float)GetValue(SmoothScrollDurationProperty);
2055             }
2056             set
2057             {
2058                 SetValue(SmoothScrollDurationProperty, value);
2059                 NotifyPropertyChanged();
2060             }
2061         }
2062
2063         /// <summary>
2064         /// The EnableScrollBar property.
2065         /// </summary>
2066         /// <since_tizen> 3 </since_tizen>
2067         public bool EnableScrollBar
2068         {
2069             get
2070             {
2071                 return (bool)GetValue(EnableScrollBarProperty);
2072             }
2073             set
2074             {
2075                 SetValue(EnableScrollBarProperty, value);
2076                 NotifyPropertyChanged();
2077             }
2078         }
2079
2080         /// <summary>
2081         /// The ScrollBarShowDuration property.
2082         /// </summary>
2083         /// <since_tizen> 3 </since_tizen>
2084         public float ScrollBarShowDuration
2085         {
2086             get
2087             {
2088                 return (float)GetValue(ScrollBarShowDurationProperty);
2089             }
2090             set
2091             {
2092                 SetValue(ScrollBarShowDurationProperty, value);
2093                 NotifyPropertyChanged();
2094             }
2095         }
2096
2097         /// <summary>
2098         /// The ScrollBarFadeDuration property.
2099         /// </summary>
2100         /// <since_tizen> 3 </since_tizen>
2101         public float ScrollBarFadeDuration
2102         {
2103             get
2104             {
2105                 return (float)GetValue(ScrollBarFadeDurationProperty);
2106             }
2107             set
2108             {
2109                 SetValue(ScrollBarFadeDurationProperty, value);
2110                 NotifyPropertyChanged();
2111             }
2112         }
2113
2114         /// <summary>
2115         /// The PixelSize property.
2116         /// </summary>
2117         /// <since_tizen> 3 </since_tizen>
2118         public float PixelSize
2119         {
2120             get
2121             {
2122                 return (float)GetValue(PixelSizeProperty);
2123             }
2124             set
2125             {
2126                 SetValue(PixelSizeProperty, value);
2127                 NotifyPropertyChanged();
2128             }
2129         }
2130
2131         /// <summary>
2132         /// The line count of the text.
2133         /// </summary>
2134         /// <since_tizen> 3 </since_tizen>
2135         public int LineCount
2136         {
2137             get
2138             {
2139                 int temp = 0;
2140                 GetProperty(TextEditor.Property.LINE_COUNT).Get(out temp);
2141                 return temp;
2142             }
2143         }
2144
2145         /// <summary>
2146         /// The text to display when the TextEditor is empty and inactive.
2147         /// </summary>
2148         /// <since_tizen> 3 </since_tizen>
2149         public string PlaceholderText
2150         {
2151             get
2152             {
2153                 return (string)GetValue(PlaceholderTextProperty);
2154             }
2155             set
2156             {
2157                 SetValue(PlaceholderTextProperty, value);
2158                 NotifyPropertyChanged();
2159             }
2160         }
2161
2162         /// <summary>
2163         /// The Placeholder text color.
2164         /// </summary>
2165         /// <since_tizen> 3 </since_tizen>
2166         public Color PlaceholderTextColor
2167         {
2168             get
2169             {
2170                 return (Color)GetValue(PlaceholderTextColorProperty);
2171             }
2172             set
2173             {
2174                 SetValue(PlaceholderTextColorProperty, value);
2175                 NotifyPropertyChanged();
2176             }
2177         }
2178
2179         /// <summary>
2180         /// The EnableSelection property.
2181         /// </summary>
2182         /// <since_tizen> 3 </since_tizen>
2183         public bool EnableSelection
2184         {
2185             get
2186             {
2187                 return (bool)GetValue(EnableSelectionProperty);
2188             }
2189             set
2190             {
2191                 SetValue(EnableSelectionProperty, value);
2192                 NotifyPropertyChanged();
2193             }
2194         }
2195
2196         /// <summary>
2197         /// The Placeholder property.
2198         /// Gets or sets the placeholder: text, color, font family, font style, point size, and pixel size.
2199         /// </summary>
2200         /// <example>
2201         /// The following example demonstrates how to set the placeholder property.
2202         /// <code>
2203         /// PropertyMap propertyMap = new PropertyMap();
2204         /// propertyMap.Add("text", new PropertyValue("Setting Placeholder Text"));
2205         /// propertyMap.Add("textFocused", new PropertyValue("Setting Placeholder Text Focused"));
2206         /// propertyMap.Add("color", new PropertyValue(Color.Red));
2207         /// propertyMap.Add("fontFamily", new PropertyValue("Arial"));
2208         /// propertyMap.Add("pointSize", new PropertyValue(12.0f));
2209         ///
2210         /// PropertyMap fontStyleMap = new PropertyMap();
2211         /// fontStyleMap.Add("weight", new PropertyValue("bold"));
2212         /// fontStyleMap.Add("width", new PropertyValue("condensed"));
2213         /// fontStyleMap.Add("slant", new PropertyValue("italic"));
2214         /// propertyMap.Add("fontStyle", new PropertyValue(fontStyleMap));
2215         ///
2216         /// TextEditor editor = new TextEditor();
2217         /// editor.Placeholder = propertyMap;
2218         /// </code>
2219         /// </example>
2220         /// <since_tizen> 3 </since_tizen>
2221         public Tizen.NUI.PropertyMap Placeholder
2222         {
2223             get
2224             {
2225                 return (PropertyMap)GetValue(PlaceholderProperty);
2226             }
2227             set
2228             {
2229                 SetValue(PlaceholderProperty, value);
2230                 NotifyPropertyChanged();
2231             }
2232         }
2233
2234         /// <summary>
2235         /// The LineWrapMode property.<br />
2236         /// The line wrap mode when the text lines over the layout width.<br />
2237         /// </summary>
2238         /// <since_tizen> 4 </since_tizen>
2239         public LineWrapMode LineWrapMode
2240         {
2241             get
2242             {
2243                 return (LineWrapMode)GetValue(LineWrapModeProperty);
2244             }
2245             set
2246             {
2247                 SetValue(LineWrapModeProperty, value);
2248                 NotifyPropertyChanged();
2249             }
2250         }
2251
2252         /// <summary>
2253         /// Enables Text selection using Shift key.
2254         /// </summary>
2255         /// <since_tizen> 5 </since_tizen>
2256         /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2257         [EditorBrowsable(EditorBrowsableState.Never)]
2258         public bool EnableShiftSelection
2259         {
2260             get
2261             {
2262                 return (bool)GetValue(EnableShiftSelectionProperty);
2263             }
2264             set
2265             {
2266                 SetValue(EnableShiftSelectionProperty, value);
2267                 NotifyPropertyChanged();
2268             }
2269         }
2270
2271
2272     }
2273 }