4facd3d8bfcf2c80ce5245015a01ba5a1d2a0fbc
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / BaseComponents / Style / TextLabelStyle.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 using System;
18 using System.ComponentModel;
19 using Tizen.NUI.Binding;
20
21 namespace Tizen.NUI.BaseComponents
22 {
23     /// <summary>
24     /// The base class for Children attributes in Components.
25     /// </summary>
26     /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
27     [EditorBrowsable(EditorBrowsableState.Never)]
28     public class TextLabelStyle : ViewStyle
29     {
30         private bool? multiLine;
31         private HorizontalAlignment? horizontalAlignment;
32         private VerticalAlignment? verticalAlignment;
33         private bool? enableMarkup;
34         private bool? enableAutoScroll;
35         private int? autoScrollSpeed;
36         private int? autoScrollLoopCount;
37         private float? autoScrollGap;
38         private float? lineSpacing;
39         private string emboss;
40         private float? pixelSize;
41         private bool? ellipsis;
42         private float? autoScrollLoopDelay;
43         private AutoScrollStopMode? autoScrollStopMode;
44         private LineWrapMode? lineWrapMode;
45         private VerticalLineAlignment? verticalLineAlignment;
46         private bool? matchSystemLanguageDirection;
47
48         static TextLabelStyle() { }
49
50         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
51         [EditorBrowsable(EditorBrowsableState.Never)]
52         public static readonly BindableProperty TranslatableTextSelectorProperty = BindableProperty.Create(nameof(TranslatableTextSelector), typeof(Selector<string>), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
53         {
54             var textFieldStyle = (TextLabelStyle)bindable;
55             textFieldStyle.TranslatableTextSelector.Clone((Selector<string>)newValue);
56         },
57         defaultValueCreator: (bindable) =>
58         {
59             var textFieldStyle = (TextLabelStyle)bindable;
60             return textFieldStyle.TranslatableTextSelector;
61         });
62         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
63         [EditorBrowsable(EditorBrowsableState.Never)]
64         public static readonly BindableProperty TextSelectorProperty = BindableProperty.Create(nameof(TextSelector), typeof(Selector<string>), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
65         {
66             var textFieldStyle = (TextLabelStyle)bindable;
67             textFieldStyle.TextSelector.Clone((Selector<string>)newValue);
68         },
69         defaultValueCreator: (bindable) =>
70         {
71             var textFieldStyle = (TextLabelStyle)bindable;
72             return textFieldStyle.TextSelector;
73         });
74         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
75         [EditorBrowsable(EditorBrowsableState.Never)]
76         public static readonly BindableProperty FontFamilySelectorProperty = BindableProperty.Create(nameof(FontFamilySelector), typeof(Selector<string>), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
77         {
78             var textFieldStyle = (TextLabelStyle)bindable;
79             textFieldStyle.FontFamilySelector.Clone((Selector<string>)newValue);
80         },
81         defaultValueCreator: (bindable) =>
82         {
83             var textFieldStyle = (TextLabelStyle)bindable;
84             return textFieldStyle.FontFamilySelector;
85         });
86         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
87         [EditorBrowsable(EditorBrowsableState.Never)]
88         public static readonly BindableProperty PointSizeSelectorProperty = BindableProperty.Create(nameof(PointSizeSelector), typeof(Selector<float?>), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
89         {
90             var textFieldStyle = (TextLabelStyle)bindable;
91             textFieldStyle.PointSizeSelector.Clone((Selector<float?>)newValue);
92         },
93         defaultValueCreator: (bindable) =>
94         {
95             var textFieldStyle = (TextLabelStyle)bindable;
96             return textFieldStyle.PointSizeSelector;
97         });
98         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
99         [EditorBrowsable(EditorBrowsableState.Never)]
100         public static readonly BindableProperty TextColorSelectorProperty = BindableProperty.Create(nameof(TextColorSelector), typeof(Selector<Color>), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
101         {
102             var textFieldStyle = (TextLabelStyle)bindable;
103             textFieldStyle.TextColorSelector.Clone((Selector<Color>)newValue);
104         },
105         defaultValueCreator: (bindable) =>
106         {
107             var textFieldStyle = (TextLabelStyle)bindable;
108             return textFieldStyle.TextColorSelector;
109         });
110
111         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
112         [EditorBrowsable(EditorBrowsableState.Never)]
113         public static readonly BindableProperty MultiLineProperty = BindableProperty.Create(nameof(MultiLine), typeof(bool?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
114         {
115             var textLabelStyle = (TextLabelStyle)bindable;
116             textLabelStyle.multiLine = (bool?)newValue;
117         },
118         defaultValueCreator: (bindable) =>
119         {
120             var textLabelStyle = (TextLabelStyle)bindable;
121             return textLabelStyle.multiLine;
122         });
123         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
124         [EditorBrowsable(EditorBrowsableState.Never)]
125         public static readonly BindableProperty HorizontalAlignmentProperty = BindableProperty.Create(nameof(HorizontalAlignment), typeof(HorizontalAlignment?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
126         {
127             var textLabelStyle = (TextLabelStyle)bindable;
128             textLabelStyle.horizontalAlignment = (HorizontalAlignment?)newValue;
129         },
130         defaultValueCreator: (bindable) =>
131         {
132             var textLabelStyle = (TextLabelStyle)bindable;
133             return textLabelStyle.horizontalAlignment;
134         });
135         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
136         [EditorBrowsable(EditorBrowsableState.Never)]
137         public static readonly BindableProperty VerticalAlignmentProperty = BindableProperty.Create(nameof(VerticalAlignment), typeof(VerticalAlignment?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
138         {
139             var textLabelStyle = (TextLabelStyle)bindable;
140             textLabelStyle.verticalAlignment = (VerticalAlignment?)newValue;
141         },
142         defaultValueCreator: (bindable) =>
143         {
144             var textLabelStyle = (TextLabelStyle)bindable;
145             return textLabelStyle.verticalAlignment;
146         });
147         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
148         [EditorBrowsable(EditorBrowsableState.Never)]
149         public static readonly BindableProperty EnableMarkupProperty = BindableProperty.Create(nameof(EnableMarkup), typeof(bool?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
150         {
151             var textLabelStyle = (TextLabelStyle)bindable;
152             textLabelStyle.enableMarkup = (bool?)newValue;
153         },
154         defaultValueCreator: (bindable) =>
155         {
156             var textLabelStyle = (TextLabelStyle)bindable;
157             return textLabelStyle.enableMarkup;
158         });
159         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
160         [EditorBrowsable(EditorBrowsableState.Never)]
161         public static readonly BindableProperty EnableAutoScrollProperty = BindableProperty.Create(nameof(EnableAutoScroll), typeof(bool?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
162         {
163             var textLabelStyle = (TextLabelStyle)bindable;
164             textLabelStyle.enableAutoScroll = (bool?)newValue;
165         },
166         defaultValueCreator: (bindable) =>
167         {
168             var textLabelStyle = (TextLabelStyle)bindable;
169             return textLabelStyle.enableAutoScroll;
170         });
171         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
172         [EditorBrowsable(EditorBrowsableState.Never)]
173         public static readonly BindableProperty AutoScrollSpeedProperty = BindableProperty.Create(nameof(AutoScrollSpeed), typeof(int?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
174         {
175             var textLabelStyle = (TextLabelStyle)bindable;
176             textLabelStyle.autoScrollSpeed = (int?)newValue;
177         },
178         defaultValueCreator: (bindable) =>
179         {
180             var textLabelStyle = (TextLabelStyle)bindable;
181             return textLabelStyle.autoScrollSpeed;
182         });
183         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
184         [EditorBrowsable(EditorBrowsableState.Never)]
185         public static readonly BindableProperty AutoScrollLoopCountProperty = BindableProperty.Create(nameof(AutoScrollLoopCount), typeof(int?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
186         {
187             var textLabelStyle = (TextLabelStyle)bindable;
188             textLabelStyle.autoScrollLoopCount = (int?)newValue;
189         },
190         defaultValueCreator: (bindable) =>
191         {
192             var textLabelStyle = (TextLabelStyle)bindable;
193             return textLabelStyle.autoScrollLoopCount;
194         });
195         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
196         [EditorBrowsable(EditorBrowsableState.Never)]
197         public static readonly BindableProperty AutoScrollGapProperty = BindableProperty.Create(nameof(AutoScrollGap), typeof(float?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
198         {
199             var textLabelStyle = (TextLabelStyle)bindable;
200             textLabelStyle.autoScrollGap = (float?)newValue;
201         },
202         defaultValueCreator: (bindable) =>
203         {
204             var textLabelStyle = (TextLabelStyle)bindable;
205             return textLabelStyle.autoScrollGap;
206         });
207         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
208         [EditorBrowsable(EditorBrowsableState.Never)]
209         public static readonly BindableProperty LineSpacingProperty = BindableProperty.Create(nameof(LineSpacing), typeof(float?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
210         {
211             var textLabelStyle = (TextLabelStyle)bindable;
212             textLabelStyle.lineSpacing = (float?)newValue;
213         },
214         defaultValueCreator: (bindable) =>
215         {
216             var textLabelStyle = (TextLabelStyle)bindable;
217             return textLabelStyle.lineSpacing;
218         });
219         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
220         [EditorBrowsable(EditorBrowsableState.Never)]
221         public static readonly BindableProperty EmbossProperty = BindableProperty.Create(nameof(Emboss), typeof(string), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
222         {
223             var textLabelStyle = (TextLabelStyle)bindable;
224             textLabelStyle.emboss = (string)newValue;
225         },
226         defaultValueCreator: (bindable) =>
227         {
228             var textLabelStyle = (TextLabelStyle)bindable;
229             return textLabelStyle.emboss;
230         });
231         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
232         [EditorBrowsable(EditorBrowsableState.Never)]
233         public static readonly BindableProperty PixelSizeProperty = BindableProperty.Create(nameof(PixelSize), typeof(float?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
234         {
235             var textLabelStyle = (TextLabelStyle)bindable;
236             textLabelStyle.pixelSize = (float?)newValue;
237         },
238         defaultValueCreator: (bindable) =>
239         {
240             var textLabelStyle = (TextLabelStyle)bindable;
241             return textLabelStyle.pixelSize;
242         });
243         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
244         [EditorBrowsable(EditorBrowsableState.Never)]
245         public static readonly BindableProperty EllipsisProperty = BindableProperty.Create(nameof(Ellipsis), typeof(bool?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
246         {
247             var textLabelStyle = (TextLabelStyle)bindable;
248             textLabelStyle.ellipsis = (bool?)newValue;
249         },
250         defaultValueCreator: (bindable) =>
251         {
252             var textLabelStyle = (TextLabelStyle)bindable;
253             return textLabelStyle.ellipsis;
254         });
255         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
256         [EditorBrowsable(EditorBrowsableState.Never)]
257         public static readonly BindableProperty AutoScrollLoopDelayProperty = BindableProperty.Create(nameof(AutoScrollLoopDelay), typeof(float?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
258         {
259             var textLabelStyle = (TextLabelStyle)bindable;
260             textLabelStyle.autoScrollLoopDelay = (float?)newValue;
261         },
262         defaultValueCreator: (bindable) =>
263         {
264             var textLabelStyle = (TextLabelStyle)bindable;
265             return textLabelStyle.autoScrollLoopDelay;
266         });
267         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
268         [EditorBrowsable(EditorBrowsableState.Never)]
269         public static readonly BindableProperty AutoScrollStopModeProperty = BindableProperty.Create(nameof(AutoScrollStopMode), typeof(AutoScrollStopMode?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
270         {
271             var textLabelStyle = (TextLabelStyle)bindable;
272             textLabelStyle.autoScrollStopMode = (AutoScrollStopMode?)newValue;
273         },
274         defaultValueCreator: (bindable) =>
275         {
276             var textLabelStyle = (TextLabelStyle)bindable;
277             return textLabelStyle.autoScrollStopMode;
278         });
279         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
280         [EditorBrowsable(EditorBrowsableState.Never)]
281         public static readonly BindableProperty LineWrapModeProperty = BindableProperty.Create(nameof(LineWrapMode), typeof(LineWrapMode?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
282         {
283             var textLabelStyle = (TextLabelStyle)bindable;
284             textLabelStyle.lineWrapMode = (LineWrapMode?)newValue;
285         },
286         defaultValueCreator: (bindable) =>
287         {
288             var textLabelStyle = (TextLabelStyle)bindable;
289             return textLabelStyle.lineWrapMode;
290         });
291         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
292         [EditorBrowsable(EditorBrowsableState.Never)]
293         public static readonly BindableProperty VerticalLineAlignmentProperty = BindableProperty.Create(nameof(VerticalLineAlignment), typeof(VerticalLineAlignment?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
294         {
295             var textLabelStyle = (TextLabelStyle)bindable;
296             textLabelStyle.verticalLineAlignment = (VerticalLineAlignment?)newValue;
297         },
298         defaultValueCreator: (bindable) =>
299         {
300             var textLabelStyle = (TextLabelStyle)bindable;
301             return textLabelStyle.verticalLineAlignment;
302         });
303         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
304         [EditorBrowsable(EditorBrowsableState.Never)]
305         public static readonly BindableProperty MatchSystemLanguageDirectionProperty = BindableProperty.Create(nameof(MatchSystemLanguageDirection), typeof(bool?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
306         {
307             var textLabelStyle = (TextLabelStyle)bindable;
308             textLabelStyle.matchSystemLanguageDirection = (bool?)newValue;
309         },
310         defaultValueCreator: (bindable) =>
311         {
312             var textLabelStyle = (TextLabelStyle)bindable;
313             return textLabelStyle.matchSystemLanguageDirection;
314         });
315
316         private Selector<string> translatableTextSelector;
317         private Selector<string> TranslatableTextSelector
318         {
319             get
320             {
321                 if (null == translatableTextSelector)
322                 {
323                     translatableTextSelector = new Selector<string>();
324                 }
325                 return translatableTextSelector;
326             }
327         }
328         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
329         [EditorBrowsable(EditorBrowsableState.Never)]
330         public Selector<string> TranslatableText
331         {
332             get
333             {
334                 return (Selector<string>)GetValue(TranslatableTextSelectorProperty);
335             }
336             set
337             {
338                 SetValue(TranslatableTextSelectorProperty, value);
339             }
340         }
341
342         private Selector<string> fontFamilySelector;
343         private Selector<string> FontFamilySelector
344         {
345             get
346             {
347                 if (null == fontFamilySelector)
348                 {
349                     fontFamilySelector = new Selector<string>();
350                 }
351                 return fontFamilySelector;
352             }
353         }
354         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
355         [EditorBrowsable(EditorBrowsableState.Never)]
356         public Selector<string> FontFamily
357         {
358             get
359             {
360                 return (Selector<string>)GetValue(FontFamilySelectorProperty);
361             }
362             set
363             {
364                 SetValue(FontFamilySelectorProperty, value);
365             }
366         }
367
368         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
369         [EditorBrowsable(EditorBrowsableState.Never)]
370         public bool? MultiLine
371         {
372             get
373             {
374                 bool? temp = (bool?)GetValue(MultiLineProperty);
375                 return temp;
376             }
377             set
378             {
379                 SetValue(MultiLineProperty, value);
380             }
381         }
382
383         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
384         [EditorBrowsable(EditorBrowsableState.Never)]
385         public HorizontalAlignment? HorizontalAlignment
386         {
387             get
388             {
389                 HorizontalAlignment? temp = (HorizontalAlignment?)GetValue(HorizontalAlignmentProperty);
390                 return temp;
391             }
392             set
393             {
394                 SetValue(HorizontalAlignmentProperty, value);
395             }
396         }
397
398         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
399         [EditorBrowsable(EditorBrowsableState.Never)]
400         public VerticalAlignment? VerticalAlignment
401         {
402             get
403             {
404                 VerticalAlignment? temp = (VerticalAlignment?)GetValue(VerticalAlignmentProperty);
405                 return temp;
406             }
407             set
408             {
409                 SetValue(VerticalAlignmentProperty, value);
410             }
411         }
412
413         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
414         [EditorBrowsable(EditorBrowsableState.Never)]
415         public bool? EnableMarkup
416         {
417             get
418             {
419                 bool? temp = (bool?)GetValue(EnableMarkupProperty);
420                 return temp;
421             }
422             set
423             {
424                 SetValue(EnableMarkupProperty, value);
425             }
426         }
427
428         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
429         [EditorBrowsable(EditorBrowsableState.Never)]
430         public bool? EnableAutoScroll
431         {
432             get
433             {
434                 bool? temp = (bool?)GetValue(EnableAutoScrollProperty);
435                 return temp;
436             }
437             set
438             {
439                 SetValue(EnableAutoScrollProperty, value);
440             }
441         }
442
443         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
444         [EditorBrowsable(EditorBrowsableState.Never)]
445         public int? AutoScrollSpeed
446         {
447             get
448             {
449                 int? temp = (int?)GetValue(AutoScrollSpeedProperty);
450                 return temp;
451             }
452             set
453             {
454                 SetValue(AutoScrollSpeedProperty, value);
455             }
456         }
457
458         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
459         [EditorBrowsable(EditorBrowsableState.Never)]
460         public int? AutoScrollLoopCount
461         {
462             get
463             {
464                 int? temp = (int?)GetValue(AutoScrollLoopCountProperty);
465                 return temp;
466             }
467             set
468             {
469                 SetValue(AutoScrollLoopCountProperty, value);
470             }
471         }
472
473         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
474         [EditorBrowsable(EditorBrowsableState.Never)]
475         public float? AutoScrollGap
476         {
477             get
478             {
479                 float? temp = (float?)GetValue(AutoScrollGapProperty);
480                 return temp;
481             }
482             set
483             {
484                 SetValue(AutoScrollGapProperty, value);
485             }
486         }
487
488         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
489         [EditorBrowsable(EditorBrowsableState.Never)]
490         public float? LineSpacing
491         {
492             get
493             {
494                 float? temp = (float?)GetValue(LineSpacingProperty);
495                 return temp;
496             }
497             set
498             {
499                 SetValue(LineSpacingProperty, value);
500             }
501         }
502
503         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
504         [EditorBrowsable(EditorBrowsableState.Never)]
505         public string Emboss
506         {
507             get
508             {
509                 string temp = (string)GetValue(EmbossProperty);
510                 return temp;
511             }
512             set
513             {
514                 SetValue(EmbossProperty, value);
515             }
516         }
517
518         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
519         [EditorBrowsable(EditorBrowsableState.Never)]
520         public float? PixelSize
521         {
522             get
523             {
524                 float? temp = (float?)GetValue(PixelSizeProperty);
525                 return temp;
526             }
527             set
528             {
529                 SetValue(PixelSizeProperty, value);
530             }
531         }
532
533         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
534         [EditorBrowsable(EditorBrowsableState.Never)]
535         public bool? Ellipsis
536         {
537             get
538             {
539                 bool? temp = (bool?)GetValue(EllipsisProperty);
540                 return temp;
541             }
542             set
543             {
544                 SetValue(EllipsisProperty, value);
545             }
546         }
547
548         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
549         [EditorBrowsable(EditorBrowsableState.Never)]
550         public float? AutoScrollLoopDelay
551         {
552             get
553             {
554                 float? temp = (float?)GetValue(AutoScrollLoopDelayProperty);
555                 return temp;
556             }
557             set
558             {
559                 SetValue(AutoScrollLoopDelayProperty, value);
560             }
561         }
562
563         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
564         [EditorBrowsable(EditorBrowsableState.Never)]
565         public AutoScrollStopMode? AutoScrollStopMode
566         {
567             get
568             {
569                 AutoScrollStopMode? temp = (AutoScrollStopMode?)GetValue(AutoScrollStopModeProperty);
570                 return temp;
571             }
572             set
573             {
574                 SetValue(AutoScrollStopModeProperty, value);
575             }
576         }
577
578         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
579         [EditorBrowsable(EditorBrowsableState.Never)]
580         public LineWrapMode? LineWrapMode
581         {
582             get
583             {
584                 LineWrapMode? temp = (LineWrapMode?)GetValue(LineWrapModeProperty);
585                 return temp;
586             }
587             set
588             {
589                 SetValue(LineWrapModeProperty, value);
590             }
591         }
592
593         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
594         [EditorBrowsable(EditorBrowsableState.Never)]
595         public VerticalLineAlignment? VerticalLineAlignment
596         {
597             get
598             {
599                 VerticalLineAlignment? temp = (VerticalLineAlignment?)GetValue(VerticalLineAlignmentProperty);
600                 return temp;
601             }
602             set
603             {
604                 SetValue(VerticalLineAlignmentProperty, value);
605             }
606         }
607
608         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
609         [EditorBrowsable(EditorBrowsableState.Never)]
610         public bool? MatchSystemLanguageDirection
611         {
612             get
613             {
614                 bool? temp = (bool?)GetValue(MatchSystemLanguageDirectionProperty);
615                 return temp;
616             }
617             set
618             {
619                 SetValue(MatchSystemLanguageDirectionProperty, value);
620             }
621         }
622
623         private Selector<string> textSelector;
624         private Selector<string> TextSelector
625         {
626             get
627             {
628                 if (null == textSelector)
629                 {
630                     textSelector = new Selector<string>();
631                 }
632                 return textSelector;
633             }
634         }
635         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
636         [EditorBrowsable(EditorBrowsableState.Never)]
637         public Selector<string> Text
638         {
639             get
640             {
641                 return (Selector<string>)GetValue(TextSelectorProperty);
642             }
643             set
644             {
645                 SetValue(TextSelectorProperty, value);
646             }
647         }
648
649         private Selector<Color> textColorSelector;
650         private Selector<Color> TextColorSelector
651         {
652             get
653             {
654                 if (null == textColorSelector)
655                 {
656                     textColorSelector = new Selector<Color>();
657                 }
658                 return textColorSelector;
659             }
660         }
661         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
662         [EditorBrowsable(EditorBrowsableState.Never)]
663         public Selector<Color> TextColor
664         {
665             get
666             {
667                 return (Selector<Color>)GetValue(TextColorSelectorProperty);
668             }
669             set
670             {
671                 SetValue(TextColorSelectorProperty, value);
672             }
673         }
674
675         private Selector<float?> pointSizeSelector;
676         private Selector<float?> PointSizeSelector
677         {
678             get
679             {
680                 if (null == pointSizeSelector)
681                 {
682                     pointSizeSelector = new Selector<float?>();
683                 }
684                 return pointSizeSelector;
685             }
686         }
687         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
688         [EditorBrowsable(EditorBrowsableState.Never)]
689         public Selector<float?> PointSize
690         {
691             get
692             {
693                 return (Selector<float?>)GetValue(PointSizeSelectorProperty);
694             }
695             set
696             {
697                 SetValue(PointSizeSelectorProperty, value);
698             }
699         }
700     }
701 }