c05183b697fea1e80cf9c33f6cfb5f3ec7a93a12
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / BaseComponents / TextEditorBindableProperty.cs
1 /*
2  * Copyright(c) 2019 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17
18 using System.ComponentModel;
19 using Tizen.NUI.Binding;
20
21 namespace Tizen.NUI.BaseComponents
22 {
23     /// <summary>
24     /// A control which provides a multi-line editable text editor.
25     /// </summary>
26     /// <since_tizen> 3 </since_tizen>
27     public partial class TextEditor
28     {
29         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
30         [EditorBrowsable(EditorBrowsableState.Never)]
31         public static readonly BindableProperty TextProperty = BindableProperty.Create(nameof(Text), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
32         {
33             var textEditor = (TextEditor)bindable;
34             if (newValue != null)
35             {
36                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.TEXT, new Tizen.NUI.PropertyValue((string)newValue));
37             }
38         },
39         defaultValueCreator: (bindable) =>
40         {
41             var textEditor = (TextEditor)bindable;
42             string temp;
43             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.TEXT).Get(out temp);
44             return temp;
45         });
46         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
47         [EditorBrowsable(EditorBrowsableState.Never)]
48         public static readonly BindableProperty TextColorProperty = BindableProperty.Create(nameof(TextColor), typeof(Vector4), typeof(TextEditor), null, propertyChanged: (bindable, oldValue, newValue) =>
49         {
50             var textEditor = (TextEditor)bindable;
51             if (newValue != null)
52             {
53                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue((Vector4)newValue));
54             }
55         },
56         defaultValueCreator: (bindable) =>
57         {
58             var textEditor = (TextEditor)bindable;
59             Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
60             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.TEXT_COLOR).Get(temp);
61             return temp;
62         });
63         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
64         [EditorBrowsable(EditorBrowsableState.Never)]
65         public static readonly BindableProperty FontFamilyProperty = BindableProperty.Create(nameof(FontFamily), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
66         {
67             var textEditor = (TextEditor)bindable;
68             if (newValue != null)
69             {
70                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue((string)newValue));
71             }
72         },
73         defaultValueCreator: (bindable) =>
74         {
75             var textEditor = (TextEditor)bindable;
76             string temp;
77             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.FONT_FAMILY).Get(out temp);
78             return temp;
79         });
80         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
81         [EditorBrowsable(EditorBrowsableState.Never)]
82         public static readonly BindableProperty FontStyleProperty = BindableProperty.Create(nameof(FontStyle), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (bindable, oldValue, newValue) =>
83         {
84             var textEditor = (TextEditor)bindable;
85             if (newValue != null)
86             {
87                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.FONT_STYLE, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
88             }
89         },
90         defaultValueCreator: (bindable) =>
91         {
92             var textEditor = (TextEditor)bindable;
93             PropertyMap temp = new PropertyMap();
94             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.FONT_STYLE).Get(temp);
95             return temp;
96         });
97         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
98         [EditorBrowsable(EditorBrowsableState.Never)]
99         public static readonly BindableProperty PointSizeProperty = BindableProperty.Create(nameof(PointSize), typeof(float), typeof(TextEditor), default(float), propertyChanged: (bindable, oldValue, newValue) =>
100         {
101             var textEditor = (TextEditor)bindable;
102             if (newValue != null)
103             {
104                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.POINT_SIZE, new Tizen.NUI.PropertyValue((float)newValue));
105             }
106         },
107         defaultValueCreator: (bindable) =>
108         {
109             var textEditor = (TextEditor)bindable;
110             float temp = 0.0f;
111             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.POINT_SIZE).Get(out temp);
112             return temp;
113         });
114         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
115         [EditorBrowsable(EditorBrowsableState.Never)]
116         public static readonly BindableProperty HorizontalAlignmentProperty = BindableProperty.Create(nameof(HorizontalAlignment), typeof(HorizontalAlignment), typeof(TextEditor), HorizontalAlignment.Begin, propertyChanged: (bindable, oldValue, newValue) =>
117         {
118             var textEditor = (TextEditor)bindable;
119             if (newValue != null)
120             {
121                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue((int)newValue));
122             }
123         },
124         defaultValueCreator: (bindable) =>
125         {
126             var textEditor = (TextEditor)bindable;
127             string temp;
128             if (Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.HORIZONTAL_ALIGNMENT).Get(out temp) == false)
129             {
130                 NUILog.Error("HorizontalAlignment get error!");
131             }
132
133             return temp.GetValueByDescription<HorizontalAlignment>();
134         });
135         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
136         [EditorBrowsable(EditorBrowsableState.Never)]
137         public static readonly BindableProperty ScrollThresholdProperty = BindableProperty.Create(nameof(ScrollThreshold), typeof(float), typeof(TextEditor), default(float), propertyChanged: (bindable, oldValue, newValue) =>
138         {
139             var textEditor = (TextEditor)bindable;
140             if (newValue != null)
141             {
142                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.SCROLL_THRESHOLD, new Tizen.NUI.PropertyValue((float)newValue));
143             }
144         },
145         defaultValueCreator: (bindable) =>
146         {
147             var textEditor = (TextEditor)bindable;
148             float temp = 0.0f;
149             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.SCROLL_THRESHOLD).Get(out temp);
150             return temp;
151         });
152         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
153         [EditorBrowsable(EditorBrowsableState.Never)]
154         public static readonly BindableProperty ScrollSpeedProperty = BindableProperty.Create(nameof(ScrollSpeed), typeof(float), typeof(TextEditor), default(float), propertyChanged: (bindable, oldValue, newValue) =>
155         {
156             var textEditor = (TextEditor)bindable;
157             if (newValue != null)
158             {
159                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue((float)newValue));
160             }
161         },
162         defaultValueCreator: (bindable) =>
163         {
164             var textEditor = (TextEditor)bindable;
165             float temp = 0.0f;
166             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.SCROLL_SPEED).Get(out temp);
167             return temp;
168         });
169         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
170         [EditorBrowsable(EditorBrowsableState.Never)]
171         public static readonly BindableProperty PrimaryCursorColorProperty = BindableProperty.Create(nameof(PrimaryCursorColor), typeof(Vector4), typeof(TextEditor), null, propertyChanged: (bindable, oldValue, newValue) =>
172         {
173             var textEditor = (TextEditor)bindable;
174             if (newValue != null)
175             {
176                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.PRIMARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue((Vector4)newValue));
177             }
178         },
179         defaultValueCreator: (bindable) =>
180         {
181             var textEditor = (TextEditor)bindable;
182             Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
183             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.PRIMARY_CURSOR_COLOR).Get(temp);
184             return temp;
185         });
186         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
187         [EditorBrowsable(EditorBrowsableState.Never)]
188         public static readonly BindableProperty SecondaryCursorColorProperty = BindableProperty.Create(nameof(SecondaryCursorColor), typeof(Vector4), typeof(TextEditor), null, propertyChanged: (bindable, oldValue, newValue) =>
189         {
190             var textEditor = (TextEditor)bindable;
191             if (newValue != null)
192             {
193                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.SECONDARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue((Vector4)newValue));
194             }
195         },
196         defaultValueCreator: (bindable) =>
197         {
198             var textEditor = (TextEditor)bindable;
199             Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
200             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.SECONDARY_CURSOR_COLOR).Get(temp);
201             return temp;
202         });
203         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
204         [EditorBrowsable(EditorBrowsableState.Never)]
205         public static readonly BindableProperty EnableCursorBlinkProperty = BindableProperty.Create(nameof(EnableCursorBlink), typeof(bool), typeof(TextEditor), false, propertyChanged: (bindable, oldValue, newValue) =>
206         {
207             var textEditor = (TextEditor)bindable;
208             if (newValue != null)
209             {
210                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.ENABLE_CURSOR_BLINK, new Tizen.NUI.PropertyValue((bool)newValue));
211             }
212         },
213         defaultValueCreator: (bindable) =>
214         {
215             var textEditor = (TextEditor)bindable;
216             bool temp = false;
217             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.ENABLE_CURSOR_BLINK).Get(out temp);
218             return temp;
219         });
220         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
221         [EditorBrowsable(EditorBrowsableState.Never)]
222         public static readonly BindableProperty CursorBlinkIntervalProperty = BindableProperty.Create(nameof(CursorBlinkInterval), typeof(float), typeof(TextEditor), default(float), propertyChanged: (bindable, oldValue, newValue) =>
223         {
224             var textEditor = (TextEditor)bindable;
225             if (newValue != null)
226             {
227                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.CURSOR_BLINK_INTERVAL, new Tizen.NUI.PropertyValue((float)newValue));
228             }
229         },
230         defaultValueCreator: (bindable) =>
231         {
232             var textEditor = (TextEditor)bindable;
233             float temp = 0.0f;
234             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.CURSOR_BLINK_INTERVAL).Get(out temp);
235             return temp;
236         });
237         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
238         [EditorBrowsable(EditorBrowsableState.Never)]
239         public static readonly BindableProperty CursorBlinkDurationProperty = BindableProperty.Create(nameof(CursorBlinkDuration), typeof(float), typeof(TextEditor), default(float), propertyChanged: (bindable, oldValue, newValue) =>
240         {
241             var textEditor = (TextEditor)bindable;
242             if (newValue != null)
243             {
244                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.CURSOR_BLINK_DURATION, new Tizen.NUI.PropertyValue((float)newValue));
245             }
246         },
247         defaultValueCreator: (bindable) =>
248         {
249             var textEditor = (TextEditor)bindable;
250             float temp = 0.0f;
251             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.CURSOR_BLINK_DURATION).Get(out temp);
252             return temp;
253         });
254         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
255         [EditorBrowsable(EditorBrowsableState.Never)]
256         public static readonly BindableProperty CursorWidthProperty = BindableProperty.Create(nameof(CursorWidth), typeof(int), typeof(TextEditor), default(int), propertyChanged: (bindable, oldValue, newValue) =>
257         {
258             var textEditor = (TextEditor)bindable;
259             if (newValue != null)
260             {
261                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.CURSOR_WIDTH, new Tizen.NUI.PropertyValue((int)newValue));
262             }
263         },
264         defaultValueCreator: (bindable) =>
265         {
266             var textEditor = (TextEditor)bindable;
267             int temp = 0;
268             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.CURSOR_WIDTH).Get(out temp);
269             return temp;
270         });
271         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
272         [EditorBrowsable(EditorBrowsableState.Never)]
273         public static readonly BindableProperty GrabHandleImageProperty = BindableProperty.Create(nameof(GrabHandleImage), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
274         {
275             var textEditor = (TextEditor)bindable;
276             if (newValue != null)
277             {
278                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.GRAB_HANDLE_IMAGE, new Tizen.NUI.PropertyValue((string)newValue));
279             }
280         },
281         defaultValueCreator: (bindable) =>
282         {
283             var textEditor = (TextEditor)bindable;
284             string temp;
285             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.GRAB_HANDLE_IMAGE).Get(out temp);
286             return temp;
287         });
288         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
289         [EditorBrowsable(EditorBrowsableState.Never)]
290         public static readonly BindableProperty GrabHandlePressedImageProperty = BindableProperty.Create(nameof(GrabHandlePressedImage), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
291         {
292             var textEditor = (TextEditor)bindable;
293             if (newValue != null)
294             {
295                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE, new Tizen.NUI.PropertyValue((string)newValue));
296             }
297         },
298         defaultValueCreator: (bindable) =>
299         {
300             var textEditor = (TextEditor)bindable;
301             string temp;
302             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE).Get(out temp);
303             return temp;
304         });
305         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
306         [EditorBrowsable(EditorBrowsableState.Never)]
307         public static readonly BindableProperty SelectionHandleImageLeftProperty = BindableProperty.Create(nameof(SelectionHandleImageLeft), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (bindable, oldValue, newValue) =>
308         {
309             var textEditor = (TextEditor)bindable;
310             if (newValue != null)
311             {
312                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
313             }
314         },
315         defaultValueCreator: (bindable) =>
316         {
317             var textEditor = (TextEditor)bindable;
318             PropertyMap temp = new PropertyMap();
319             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT).Get(temp);
320             return temp;
321         });
322         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
323         [EditorBrowsable(EditorBrowsableState.Never)]
324         public static readonly BindableProperty SelectionHandleImageRightProperty = BindableProperty.Create(nameof(SelectionHandleImageRight), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (bindable, oldValue, newValue) =>
325         {
326             var textEditor = (TextEditor)bindable;
327             if (newValue != null)
328             {
329                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
330             }
331         },
332         defaultValueCreator: (bindable) =>
333         {
334             var textEditor = (TextEditor)bindable;
335             PropertyMap temp = new PropertyMap();
336             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT).Get(temp);
337             return temp;
338         });
339         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
340         [EditorBrowsable(EditorBrowsableState.Never)]
341         public static readonly BindableProperty SelectionHandlePressedImageLeftProperty = BindableProperty.Create(nameof(SelectionHandlePressedImageLeft), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (bindable, oldValue, newValue) =>
342         {
343             var textEditor = (TextEditor)bindable;
344             if (newValue != null)
345             {
346                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
347             }
348         },
349         defaultValueCreator: (bindable) =>
350         {
351             var textEditor = (TextEditor)bindable;
352             PropertyMap temp = new PropertyMap();
353             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT).Get(temp);
354             return temp;
355         });
356         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
357         [EditorBrowsable(EditorBrowsableState.Never)]
358         public static readonly BindableProperty SelectionHandlePressedImageRightProperty = BindableProperty.Create(nameof(SelectionHandlePressedImageRight), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (bindable, oldValue, newValue) =>
359         {
360             var textEditor = (TextEditor)bindable;
361             if (newValue != null)
362             {
363                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
364             }
365         },
366         defaultValueCreator: (bindable) =>
367         {
368             var textEditor = (TextEditor)bindable;
369             PropertyMap temp = new PropertyMap();
370             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT).Get(temp);
371             return temp;
372         });
373         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
374         [EditorBrowsable(EditorBrowsableState.Never)]
375         public static readonly BindableProperty SelectionHandleMarkerImageLeftProperty = BindableProperty.Create(nameof(SelectionHandleMarkerImageLeft), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (bindable, oldValue, newValue) =>
376         {
377             var textEditor = (TextEditor)bindable;
378             if (newValue != null)
379             {
380                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
381             }
382         },
383         defaultValueCreator: (bindable) =>
384         {
385             var textEditor = (TextEditor)bindable;
386             PropertyMap temp = new PropertyMap();
387             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT).Get(temp);
388             return temp;
389         });
390         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
391         [EditorBrowsable(EditorBrowsableState.Never)]
392         public static readonly BindableProperty SelectionHandleMarkerImageRightProperty = BindableProperty.Create(nameof(SelectionHandleMarkerImageRight), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (bindable, oldValue, newValue) =>
393         {
394             var textEditor = (TextEditor)bindable;
395             if (newValue != null)
396             {
397                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
398             }
399         },
400         defaultValueCreator: (bindable) =>
401         {
402             var textEditor = (TextEditor)bindable;
403             PropertyMap temp = new PropertyMap();
404             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT).Get(temp);
405             return temp;
406         });
407         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
408         [EditorBrowsable(EditorBrowsableState.Never)]
409         public static readonly BindableProperty SelectionHighlightColorProperty = BindableProperty.Create(nameof(SelectionHighlightColor), typeof(Vector4), typeof(TextEditor), null, propertyChanged: (bindable, oldValue, newValue) =>
410         {
411             var textEditor = (TextEditor)bindable;
412             if (newValue != null)
413             {
414                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.SELECTION_HIGHLIGHT_COLOR, new Tizen.NUI.PropertyValue((Vector4)newValue));
415             }
416         },
417         defaultValueCreator: (bindable) =>
418         {
419             var textEditor = (TextEditor)bindable;
420             Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
421             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.SELECTION_HIGHLIGHT_COLOR).Get(temp);
422             return temp;
423         });
424         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
425         [EditorBrowsable(EditorBrowsableState.Never)]
426         public static readonly BindableProperty DecorationBoundingBoxProperty = BindableProperty.Create(nameof(DecorationBoundingBox), typeof(Rectangle), typeof(TextEditor), null, propertyChanged: (bindable, oldValue, newValue) =>
427         {
428             var textEditor = (TextEditor)bindable;
429             if (newValue != null)
430             {
431                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.DECORATION_BOUNDING_BOX, new Tizen.NUI.PropertyValue((Rectangle)newValue));
432             }
433         },
434         defaultValueCreator: (bindable) =>
435         {
436             var textEditor = (TextEditor)bindable;
437             Rectangle temp = new Rectangle(0, 0, 0, 0);
438             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.DECORATION_BOUNDING_BOX).Get(temp);
439             return temp;
440         });
441         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
442         [EditorBrowsable(EditorBrowsableState.Never)]
443         public static readonly BindableProperty EnableMarkupProperty = BindableProperty.Create(nameof(EnableMarkup), typeof(bool), typeof(TextEditor), false, propertyChanged: (bindable, oldValue, newValue) =>
444         {
445             var textEditor = (TextEditor)bindable;
446             if (newValue != null)
447             {
448                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue((bool)newValue));
449             }
450         },
451         defaultValueCreator: (bindable) =>
452         {
453             var textEditor = (TextEditor)bindable;
454             bool temp = false;
455             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.ENABLE_MARKUP).Get(out temp);
456             return temp;
457         });
458         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
459         [EditorBrowsable(EditorBrowsableState.Never)]
460         public static readonly BindableProperty InputColorProperty = BindableProperty.Create(nameof(InputColor), typeof(Vector4), typeof(TextEditor), null, propertyChanged: (bindable, oldValue, newValue) =>
461         {
462             var textEditor = (TextEditor)bindable;
463             if (newValue != null)
464             {
465                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.INPUT_COLOR, new Tizen.NUI.PropertyValue((Vector4)newValue));
466             }
467         },
468         defaultValueCreator: (bindable) =>
469         {
470             var textEditor = (TextEditor)bindable;
471             Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
472             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.INPUT_COLOR).Get(temp);
473             return temp;
474         });
475         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
476         [EditorBrowsable(EditorBrowsableState.Never)]
477         public static readonly BindableProperty InputFontFamilyProperty = BindableProperty.Create(nameof(InputFontFamily), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
478         {
479             var textEditor = (TextEditor)bindable;
480             if (newValue != null)
481             {
482                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.INPUT_FONT_FAMILY, new Tizen.NUI.PropertyValue((string)newValue));
483             }
484         },
485         defaultValueCreator: (bindable) =>
486         {
487             var textEditor = (TextEditor)bindable;
488             string temp;
489             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.INPUT_FONT_FAMILY).Get(out temp);
490             return temp;
491         });
492         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
493         [EditorBrowsable(EditorBrowsableState.Never)]
494         public static readonly BindableProperty InputFontStyleProperty = BindableProperty.Create(nameof(InputFontStyle), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (bindable, oldValue, newValue) =>
495         {
496             var textEditor = (TextEditor)bindable;
497             if (newValue != null)
498             {
499                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.INPUT_FONT_STYLE, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
500             }
501         },
502         defaultValueCreator: (bindable) =>
503         {
504             var textEditor = (TextEditor)bindable;
505             PropertyMap temp = new PropertyMap();
506             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.INPUT_FONT_STYLE).Get(temp);
507             return temp;
508         });
509         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
510         [EditorBrowsable(EditorBrowsableState.Never)]
511         public static readonly BindableProperty InputPointSizeProperty = BindableProperty.Create(nameof(InputPointSize), typeof(float), typeof(TextEditor), default(float), propertyChanged: (bindable, oldValue, newValue) =>
512         {
513             var textEditor = (TextEditor)bindable;
514             if (newValue != null)
515             {
516                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.INPUT_POINT_SIZE, new Tizen.NUI.PropertyValue((float)newValue));
517             }
518         },
519         defaultValueCreator: (bindable) =>
520         {
521             var textEditor = (TextEditor)bindable;
522             float temp = 0.0f;
523             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.INPUT_POINT_SIZE).Get(out temp);
524             return temp;
525         });
526         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
527         [EditorBrowsable(EditorBrowsableState.Never)]
528         public static readonly BindableProperty LineSpacingProperty = BindableProperty.Create(nameof(LineSpacing), typeof(float), typeof(TextEditor), default(float), propertyChanged: (bindable, oldValue, newValue) =>
529         {
530             var textEditor = (TextEditor)bindable;
531             if (newValue != null)
532             {
533                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.LINE_SPACING, new Tizen.NUI.PropertyValue((float)newValue));
534             }
535         },
536         defaultValueCreator: (bindable) =>
537         {
538             var textEditor = (TextEditor)bindable;
539             float temp = 0.0f;
540             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.LINE_SPACING).Get(out temp);
541             return temp;
542         });
543         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
544         [EditorBrowsable(EditorBrowsableState.Never)]
545         public static readonly BindableProperty InputLineSpacingProperty = BindableProperty.Create(nameof(InputLineSpacing), typeof(float), typeof(TextEditor), default(float), propertyChanged: (bindable, oldValue, newValue) =>
546         {
547             var textEditor = (TextEditor)bindable;
548             if (newValue != null)
549             {
550                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.INPUT_LINE_SPACING, new Tizen.NUI.PropertyValue((float)newValue));
551             }
552         },
553         defaultValueCreator: (bindable) =>
554         {
555             var textEditor = (TextEditor)bindable;
556             float temp = 0.0f;
557             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.INPUT_LINE_SPACING).Get(out temp);
558             return temp;
559         });
560         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
561         [EditorBrowsable(EditorBrowsableState.Never)]
562         public static readonly BindableProperty UnderlineProperty = BindableProperty.Create(nameof(Underline), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (bindable, oldValue, newValue) =>
563         {
564             var textEditor = (TextEditor)bindable;
565             if (newValue != null)
566             {
567                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.UNDERLINE, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
568             }
569         },
570         defaultValueCreator: (bindable) =>
571         {
572             var textEditor = (TextEditor)bindable;
573             PropertyMap temp = new PropertyMap();
574             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.UNDERLINE).Get(temp);
575             return temp;
576         });
577         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
578         [EditorBrowsable(EditorBrowsableState.Never)]
579         public static readonly BindableProperty InputUnderlineProperty = BindableProperty.Create(nameof(InputUnderline), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
580         {
581             var textEditor = (TextEditor)bindable;
582             if (newValue != null)
583             {
584                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.INPUT_UNDERLINE, new Tizen.NUI.PropertyValue((string)newValue));
585             }
586         },
587         defaultValueCreator: (bindable) =>
588         {
589             var textEditor = (TextEditor)bindable;
590             string temp;
591             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.INPUT_UNDERLINE).Get(out temp);
592             return temp;
593         });
594         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
595         [EditorBrowsable(EditorBrowsableState.Never)]
596         public static readonly BindableProperty ShadowProperty = BindableProperty.Create(nameof(Shadow), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (bindable, oldValue, newValue) =>
597         {
598             var textEditor = (TextEditor)bindable;
599             if (newValue != null)
600             {
601                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.SHADOW, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
602             }
603         },
604         defaultValueCreator: (bindable) =>
605         {
606             var textEditor = (TextEditor)bindable;
607             PropertyMap temp = new PropertyMap();
608             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.SHADOW).Get(temp);
609             return temp;
610         });
611         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
612         [EditorBrowsable(EditorBrowsableState.Never)]
613         public static readonly BindableProperty InputShadowProperty = BindableProperty.Create(nameof(InputShadow), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
614         {
615             var textEditor = (TextEditor)bindable;
616             if (newValue != null)
617             {
618                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.INPUT_SHADOW, new Tizen.NUI.PropertyValue((string)newValue));
619             }
620         },
621         defaultValueCreator: (bindable) =>
622         {
623             var textEditor = (TextEditor)bindable;
624             string temp;
625             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.INPUT_SHADOW).Get(out temp);
626             return temp;
627         });
628         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
629         [EditorBrowsable(EditorBrowsableState.Never)]
630         public static readonly BindableProperty EmbossProperty = BindableProperty.Create(nameof(Emboss), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
631         {
632             var textEditor = (TextEditor)bindable;
633             if (newValue != null)
634             {
635                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.EMBOSS, new Tizen.NUI.PropertyValue((string)newValue));
636             }
637         },
638         defaultValueCreator: (bindable) =>
639         {
640             var textEditor = (TextEditor)bindable;
641             string temp;
642             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.EMBOSS).Get(out temp);
643             return temp;
644         });
645         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
646         [EditorBrowsable(EditorBrowsableState.Never)]
647         public static readonly BindableProperty InputEmbossProperty = BindableProperty.Create(nameof(InputEmboss), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
648         {
649             var textEditor = (TextEditor)bindable;
650             if (newValue != null)
651             {
652                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.INPUT_EMBOSS, new Tizen.NUI.PropertyValue((string)newValue));
653             }
654         },
655         defaultValueCreator: (bindable) =>
656         {
657             var textEditor = (TextEditor)bindable;
658             string temp;
659             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.INPUT_EMBOSS).Get(out temp);
660             return temp;
661         });
662         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
663         [EditorBrowsable(EditorBrowsableState.Never)]
664         public static readonly BindableProperty OutlineProperty = BindableProperty.Create(nameof(Outline), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (bindable, oldValue, newValue) =>
665         {
666             var textEditor = (TextEditor)bindable;
667             if (newValue != null)
668             {
669                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.OUTLINE, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
670             }
671         },
672         defaultValueCreator: (bindable) =>
673         {
674             var textEditor = (TextEditor)bindable;
675             PropertyMap temp = new PropertyMap();
676             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.OUTLINE).Get(temp);
677             return temp;
678         });
679         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
680         [EditorBrowsable(EditorBrowsableState.Never)]
681         public static readonly BindableProperty InputOutlineProperty = BindableProperty.Create(nameof(InputOutline), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
682         {
683             var textEditor = (TextEditor)bindable;
684             if (newValue != null)
685             {
686                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.INPUT_OUTLINE, new Tizen.NUI.PropertyValue((string)newValue));
687             }
688         },
689         defaultValueCreator: (bindable) =>
690         {
691             var textEditor = (TextEditor)bindable;
692             string temp;
693             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.INPUT_OUTLINE).Get(out temp);
694             return temp;
695         });
696         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
697         [EditorBrowsable(EditorBrowsableState.Never)]
698         public static readonly BindableProperty SmoothScrollProperty = BindableProperty.Create(nameof(SmoothScroll), typeof(bool), typeof(TextEditor), false, propertyChanged: (bindable, oldValue, newValue) =>
699         {
700             var textEditor = (TextEditor)bindable;
701             if (newValue != null)
702             {
703                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.SMOOTH_SCROLL, new Tizen.NUI.PropertyValue((bool)newValue));
704             }
705         },
706         defaultValueCreator: (bindable) =>
707         {
708             var textEditor = (TextEditor)bindable;
709             bool temp = false;
710             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.SMOOTH_SCROLL).Get(out temp);
711             return temp;
712         });
713         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
714         [EditorBrowsable(EditorBrowsableState.Never)]
715         public static readonly BindableProperty SmoothScrollDurationProperty = BindableProperty.Create(nameof(SmoothScrollDuration), typeof(float), typeof(TextEditor), default(float), propertyChanged: (bindable, oldValue, newValue) =>
716         {
717             var textEditor = (TextEditor)bindable;
718             if (newValue != null)
719             {
720                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.SMOOTH_SCROLL_DURATION, new Tizen.NUI.PropertyValue((float)newValue));
721             }
722         },
723         defaultValueCreator: (bindable) =>
724         {
725             var textEditor = (TextEditor)bindable;
726             float temp = 0.0f;
727             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.SMOOTH_SCROLL_DURATION).Get(out temp);
728             return temp;
729         });
730         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
731         [EditorBrowsable(EditorBrowsableState.Never)]
732         public static readonly BindableProperty EnableScrollBarProperty = BindableProperty.Create(nameof(EnableScrollBar), typeof(bool), typeof(TextEditor), false, propertyChanged: (bindable, oldValue, newValue) =>
733         {
734             var textEditor = (TextEditor)bindable;
735             if (newValue != null)
736             {
737                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.ENABLE_SCROLL_BAR, new Tizen.NUI.PropertyValue((bool)newValue));
738             }
739         },
740         defaultValueCreator: (bindable) =>
741         {
742             var textEditor = (TextEditor)bindable;
743             bool temp = false;
744             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.ENABLE_SCROLL_BAR).Get(out temp);
745             return temp;
746         });
747         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
748         [EditorBrowsable(EditorBrowsableState.Never)]
749         public static readonly BindableProperty ScrollBarShowDurationProperty = BindableProperty.Create(nameof(ScrollBarShowDuration), typeof(float), typeof(TextEditor), default(float), propertyChanged: (bindable, oldValue, newValue) =>
750         {
751             var textEditor = (TextEditor)bindable;
752             if (newValue != null)
753             {
754                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.SCROLL_BAR_SHOW_DURATION, new Tizen.NUI.PropertyValue((float)newValue));
755             }
756         },
757         defaultValueCreator: (bindable) =>
758         {
759             var textEditor = (TextEditor)bindable;
760             float temp = 0.0f;
761             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.SCROLL_BAR_SHOW_DURATION).Get(out temp);
762             return temp;
763         });
764         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
765         [EditorBrowsable(EditorBrowsableState.Never)]
766         public static readonly BindableProperty ScrollBarFadeDurationProperty = BindableProperty.Create(nameof(ScrollBarFadeDuration), typeof(float), typeof(TextEditor), default(float), propertyChanged: (bindable, oldValue, newValue) =>
767         {
768             var textEditor = (TextEditor)bindable;
769             if (newValue != null)
770             {
771                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.SCROLL_BAR_FADE_DURATION, new Tizen.NUI.PropertyValue((float)newValue));
772             }
773         },
774         defaultValueCreator: (bindable) =>
775         {
776             var textEditor = (TextEditor)bindable;
777             float temp = 0.0f;
778             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.SCROLL_BAR_FADE_DURATION).Get(out temp);
779             return temp;
780         });
781         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
782         [EditorBrowsable(EditorBrowsableState.Never)]
783         public static readonly BindableProperty PixelSizeProperty = BindableProperty.Create(nameof(PixelSize), typeof(float), typeof(TextEditor), default(float), propertyChanged: (bindable, oldValue, newValue) =>
784         {
785             var textEditor = (TextEditor)bindable;
786             if (newValue != null)
787             {
788                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.PIXEL_SIZE, new Tizen.NUI.PropertyValue((float)newValue));
789             }
790         },
791         defaultValueCreator: (bindable) =>
792         {
793             var textEditor = (TextEditor)bindable;
794             float temp = 0.0f;
795             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.PIXEL_SIZE).Get(out temp);
796             return temp;
797         });
798         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
799         [EditorBrowsable(EditorBrowsableState.Never)]
800         public static readonly BindableProperty PlaceholderTextProperty = BindableProperty.Create(nameof(PlaceholderText), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
801         {
802             var textEditor = (TextEditor)bindable;
803             if (newValue != null)
804             {
805                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.PLACEHOLDER_TEXT, new Tizen.NUI.PropertyValue((string)newValue));
806             }
807         },
808         defaultValueCreator: (bindable) =>
809         {
810             var textEditor = (TextEditor)bindable;
811             string temp;
812             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.PLACEHOLDER_TEXT).Get(out temp);
813             return temp;
814         });
815         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
816         [EditorBrowsable(EditorBrowsableState.Never)]
817         public static readonly BindableProperty PlaceholderTextColorProperty = BindableProperty.Create(nameof(PlaceholderTextColor), typeof(Color), typeof(TextEditor), null, propertyChanged: (bindable, oldValue, newValue) =>
818         {
819             var textEditor = (TextEditor)bindable;
820             if (newValue != null)
821             {
822                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.PLACEHOLDER_TEXT_COLOR, new Tizen.NUI.PropertyValue((Color)newValue));
823             }
824         },
825         defaultValueCreator: (bindable) =>
826         {
827             var textEditor = (TextEditor)bindable;
828             Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
829             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.PLACEHOLDER_TEXT_COLOR).Get(temp);
830             return temp;
831         });
832         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
833         [EditorBrowsable(EditorBrowsableState.Never)]
834         public static readonly BindableProperty EnableSelectionProperty = BindableProperty.Create(nameof(EnableSelection), typeof(bool), typeof(TextEditor), false, propertyChanged: (bindable, oldValue, newValue) =>
835         {
836             var textEditor = (TextEditor)bindable;
837             if (newValue != null)
838             {
839                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.ENABLE_SELECTION, new Tizen.NUI.PropertyValue((bool)newValue));
840             }
841         },
842         defaultValueCreator: (bindable) =>
843         {
844             var textEditor = (TextEditor)bindable;
845             bool temp = false;
846             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.ENABLE_SELECTION).Get(out temp);
847             return temp;
848         });
849         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
850         [EditorBrowsable(EditorBrowsableState.Never)]
851         public static readonly BindableProperty PlaceholderProperty = BindableProperty.Create(nameof(Placeholder), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (bindable, oldValue, newValue) =>
852         {
853             var textEditor = (TextEditor)bindable;
854             if (newValue != null)
855             {
856                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.PLACEHOLDER, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
857             }
858         },
859         defaultValueCreator: (bindable) =>
860         {
861             var textEditor = (TextEditor)bindable;
862             Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
863             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.PLACEHOLDER).Get(temp);
864             return temp;
865         });
866         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
867         [EditorBrowsable(EditorBrowsableState.Never)]
868         public static readonly BindableProperty LineWrapModeProperty = BindableProperty.Create(nameof(LineWrapMode), typeof(LineWrapMode), typeof(TextEditor), LineWrapMode.Word, propertyChanged: (bindable, oldValue, newValue) =>
869         {
870             var textEditor = (TextEditor)bindable;
871             if (newValue != null)
872             {
873                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.LINE_WRAP_MODE, new Tizen.NUI.PropertyValue((int)newValue));
874             }
875         },
876         defaultValueCreator: (bindable) =>
877         {
878             var textEditor = (TextEditor)bindable;
879             int temp;
880             if (Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.LINE_WRAP_MODE).Get(out temp) == false)
881             {
882                 NUILog.Error("LineWrapMode get error!");
883             }
884             return (LineWrapMode)temp;
885         });
886         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
887         [EditorBrowsable(EditorBrowsableState.Never)]
888         public static readonly BindableProperty EnableShiftSelectionProperty = BindableProperty.Create(nameof(TextEditor.EnableShiftSelection), typeof(bool), typeof(TextEditor), true, propertyChanged: (bindable, oldValue, newValue) =>
889         {
890             var textEditor = (TextEditor)bindable;
891             if (newValue != null)
892             {
893                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.ENABLE_SHIFT_SELECTION, new Tizen.NUI.PropertyValue((bool)newValue));
894             }
895         },
896         defaultValueCreator: (bindable) =>
897         {
898             var textEditor = (TextEditor)bindable;
899             //textEditor.mShiftSelectionFlag(true);
900             bool temp = false;
901             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.ENABLE_SHIFT_SELECTION).Get(out temp);
902             return temp;
903         });
904         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
905         [EditorBrowsable(EditorBrowsableState.Never)]
906         public static readonly BindableProperty MatchSystemLanguageDirectionProperty = BindableProperty.Create(nameof(TextEditor.MatchSystemLanguageDirection), typeof(bool), typeof(TextEditor), false, propertyChanged: (bindable, oldValue, newValue) =>
907         {
908             var textEditor = (TextEditor)bindable;
909             if (newValue != null)
910             {
911                 Tizen.NUI.Object.SetProperty(textEditor.swigCPtr, TextEditor.Property.MATCH_SYSTEM_LANGUAGE_DIRECTION, new Tizen.NUI.PropertyValue((bool)newValue));
912             }
913         },
914         defaultValueCreator: (bindable) =>
915         {
916             var textEditor = (TextEditor)bindable;
917             bool temp = false;
918             Tizen.NUI.Object.GetProperty(textEditor.swigCPtr, TextEditor.Property.MATCH_SYSTEM_LANGUAGE_DIRECTION).Get(out temp);
919             return (bool)temp;
920         });
921     }
922 }