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