2 * Copyright(c) 2019 Samsung Electronics Co., Ltd.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
18 using System.ComponentModel;
19 using Tizen.NUI.Binding;
21 namespace Tizen.NUI.BaseComponents
24 /// The base class for Children attributes in Components.
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
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(nameof(TranslatableTextSelector), typeof(Selector<string>), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
51 var textFieldStyle = (TextLabelStyle)bindable;
52 textFieldStyle.TranslatableTextSelector.Clone((Selector<string>)newValue);
54 defaultValueCreator: (bindable) =>
56 var textFieldStyle = (TextLabelStyle)bindable;
57 return textFieldStyle.TranslatableTextSelector;
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(nameof(TextSelector), typeof(Selector<string>), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
63 var textFieldStyle = (TextLabelStyle)bindable;
64 textFieldStyle.TextSelector.Clone((Selector<string>)newValue);
66 defaultValueCreator: (bindable) =>
68 var textFieldStyle = (TextLabelStyle)bindable;
69 return textFieldStyle.TextSelector;
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(nameof(FontFamilySelector), typeof(Selector<string>), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
75 var textFieldStyle = (TextLabelStyle)bindable;
76 textFieldStyle.FontFamilySelector.Clone((Selector<string>)newValue);
78 defaultValueCreator: (bindable) =>
80 var textFieldStyle = (TextLabelStyle)bindable;
81 return textFieldStyle.FontFamilySelector;
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(nameof(PointSizeSelector), typeof(Selector<float?>), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
87 var textFieldStyle = (TextLabelStyle)bindable;
88 textFieldStyle.PointSizeSelector.Clone((Selector<float?>)newValue);
90 defaultValueCreator: (bindable) =>
92 var textFieldStyle = (TextLabelStyle)bindable;
93 return textFieldStyle.PointSizeSelector;
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(nameof(TextColorSelector), typeof(Selector<Color>), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
99 var textFieldStyle = (TextLabelStyle)bindable;
100 textFieldStyle.TextColorSelector.Clone((Selector<Color>)newValue);
102 defaultValueCreator: (bindable) =>
104 var textFieldStyle = (TextLabelStyle)bindable;
105 return textFieldStyle.TextColorSelector;
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(nameof(MultiLine), typeof(bool?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
112 var textLabelStyle = (TextLabelStyle)bindable;
113 textLabelStyle.multiLine = (bool?)newValue;
115 defaultValueCreator: (bindable) =>
117 var textLabelStyle = (TextLabelStyle)bindable;
118 return textLabelStyle.multiLine;
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(nameof(HorizontalAlignment), typeof(HorizontalAlignment?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
124 var textLabelStyle = (TextLabelStyle)bindable;
125 textLabelStyle.horizontalAlignment = (HorizontalAlignment?)newValue;
127 defaultValueCreator: (bindable) =>
129 var textLabelStyle = (TextLabelStyle)bindable;
130 return textLabelStyle.horizontalAlignment;
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(nameof(VerticalAlignment), typeof(VerticalAlignment?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
136 var textLabelStyle = (TextLabelStyle)bindable;
137 textLabelStyle.verticalAlignment = (VerticalAlignment?)newValue;
139 defaultValueCreator: (bindable) =>
141 var textLabelStyle = (TextLabelStyle)bindable;
142 return textLabelStyle.verticalAlignment;
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(nameof(EnableMarkup), typeof(bool?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
148 var textLabelStyle = (TextLabelStyle)bindable;
149 textLabelStyle.enableMarkup = (bool?)newValue;
151 defaultValueCreator: (bindable) =>
153 var textLabelStyle = (TextLabelStyle)bindable;
154 return textLabelStyle.enableMarkup;
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(nameof(EnableAutoScroll), typeof(bool?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
160 var textLabelStyle = (TextLabelStyle)bindable;
161 textLabelStyle.enableAutoScroll = (bool?)newValue;
163 defaultValueCreator: (bindable) =>
165 var textLabelStyle = (TextLabelStyle)bindable;
166 return textLabelStyle.enableAutoScroll;
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(nameof(AutoScrollSpeed), typeof(int?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
172 var textLabelStyle = (TextLabelStyle)bindable;
173 textLabelStyle.autoScrollSpeed = (int?)newValue;
175 defaultValueCreator: (bindable) =>
177 var textLabelStyle = (TextLabelStyle)bindable;
178 return textLabelStyle.autoScrollSpeed;
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(nameof(AutoScrollLoopCount), typeof(int?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
184 var textLabelStyle = (TextLabelStyle)bindable;
185 textLabelStyle.autoScrollLoopCount = (int?)newValue;
187 defaultValueCreator: (bindable) =>
189 var textLabelStyle = (TextLabelStyle)bindable;
190 return textLabelStyle.autoScrollLoopCount;
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(nameof(AutoScrollGap), typeof(float?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
196 var textLabelStyle = (TextLabelStyle)bindable;
197 textLabelStyle.autoScrollGap = (float?)newValue;
199 defaultValueCreator: (bindable) =>
201 var textLabelStyle = (TextLabelStyle)bindable;
202 return textLabelStyle.autoScrollGap;
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(nameof(LineSpacing), typeof(float?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
208 var textLabelStyle = (TextLabelStyle)bindable;
209 textLabelStyle.lineSpacing = (float?)newValue;
211 defaultValueCreator: (bindable) =>
213 var textLabelStyle = (TextLabelStyle)bindable;
214 return textLabelStyle.lineSpacing;
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(nameof(Emboss), typeof(string), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
220 var textLabelStyle = (TextLabelStyle)bindable;
221 textLabelStyle.emboss = (string)newValue;
223 defaultValueCreator: (bindable) =>
225 var textLabelStyle = (TextLabelStyle)bindable;
226 return textLabelStyle.emboss;
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(nameof(PixelSize), typeof(float?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
232 var textLabelStyle = (TextLabelStyle)bindable;
233 textLabelStyle.pixelSize = (float?)newValue;
235 defaultValueCreator: (bindable) =>
237 var textLabelStyle = (TextLabelStyle)bindable;
238 return textLabelStyle.pixelSize;
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(nameof(Ellipsis), typeof(bool?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
244 var textLabelStyle = (TextLabelStyle)bindable;
245 textLabelStyle.ellipsis = (bool?)newValue;
247 defaultValueCreator: (bindable) =>
249 var textLabelStyle = (TextLabelStyle)bindable;
250 return textLabelStyle.ellipsis;
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(nameof(AutoScrollLoopDelay), typeof(float?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
256 var textLabelStyle = (TextLabelStyle)bindable;
257 textLabelStyle.autoScrollLoopDelay = (float?)newValue;
259 defaultValueCreator: (bindable) =>
261 var textLabelStyle = (TextLabelStyle)bindable;
262 return textLabelStyle.autoScrollLoopDelay;
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(nameof(AutoScrollStopMode), typeof(AutoScrollStopMode?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
268 var textLabelStyle = (TextLabelStyle)bindable;
269 textLabelStyle.autoScrollStopMode = (AutoScrollStopMode?)newValue;
271 defaultValueCreator: (bindable) =>
273 var textLabelStyle = (TextLabelStyle)bindable;
274 return textLabelStyle.autoScrollStopMode;
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(nameof(LineWrapMode), typeof(LineWrapMode?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
280 var textLabelStyle = (TextLabelStyle)bindable;
281 textLabelStyle.lineWrapMode = (LineWrapMode?)newValue;
283 defaultValueCreator: (bindable) =>
285 var textLabelStyle = (TextLabelStyle)bindable;
286 return textLabelStyle.lineWrapMode;
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(nameof(VerticalLineAlignment), typeof(VerticalLineAlignment?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
292 var textLabelStyle = (TextLabelStyle)bindable;
293 textLabelStyle.verticalLineAlignment = (VerticalLineAlignment?)newValue;
295 defaultValueCreator: (bindable) =>
297 var textLabelStyle = (TextLabelStyle)bindable;
298 return textLabelStyle.verticalLineAlignment;
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(nameof(MatchSystemLanguageDirection), typeof(bool?), typeof(TextLabelStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
304 var textLabelStyle = (TextLabelStyle)bindable;
305 textLabelStyle.matchSystemLanguageDirection = (bool?)newValue;
307 defaultValueCreator: (bindable) =>
309 var textLabelStyle = (TextLabelStyle)bindable;
310 return textLabelStyle.matchSystemLanguageDirection;
313 private Selector<string> translatableTextSelector;
314 private Selector<string> TranslatableTextSelector
318 if (null == translatableTextSelector)
320 translatableTextSelector = new Selector<string>();
322 return translatableTextSelector;
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
331 return (Selector<string>)GetValue(TranslatableTextSelectorProperty);
335 SetValue(TranslatableTextSelectorProperty, value);
339 private Selector<string> fontFamilySelector;
340 private Selector<string> FontFamilySelector
344 if (null == fontFamilySelector)
346 fontFamilySelector = new Selector<string>();
348 return fontFamilySelector;
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
357 return (Selector<string>)GetValue(FontFamilySelectorProperty);
361 SetValue(FontFamilySelectorProperty, value);
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
371 bool? temp = (bool?)GetValue(MultiLineProperty);
376 SetValue(MultiLineProperty, value);
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
386 HorizontalAlignment? temp = (HorizontalAlignment?)GetValue(HorizontalAlignmentProperty);
391 SetValue(HorizontalAlignmentProperty, value);
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
401 VerticalAlignment? temp = (VerticalAlignment?)GetValue(VerticalAlignmentProperty);
406 SetValue(VerticalAlignmentProperty, value);
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
416 bool? temp = (bool?)GetValue(EnableMarkupProperty);
421 SetValue(EnableMarkupProperty, value);
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
431 bool? temp = (bool?)GetValue(EnableAutoScrollProperty);
436 SetValue(EnableAutoScrollProperty, value);
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
446 int? temp = (int?)GetValue(AutoScrollSpeedProperty);
451 SetValue(AutoScrollSpeedProperty, value);
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
461 int? temp = (int?)GetValue(AutoScrollLoopCountProperty);
466 SetValue(AutoScrollLoopCountProperty, value);
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
476 float? temp = (float?)GetValue(AutoScrollGapProperty);
481 SetValue(AutoScrollGapProperty, value);
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
491 float? temp = (float?)GetValue(LineSpacingProperty);
496 SetValue(LineSpacingProperty, value);
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)]
506 string temp = (string)GetValue(EmbossProperty);
511 SetValue(EmbossProperty, value);
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
521 float? temp = (float?)GetValue(PixelSizeProperty);
526 SetValue(PixelSizeProperty, value);
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
536 bool? temp = (bool?)GetValue(EllipsisProperty);
541 SetValue(EllipsisProperty, value);
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
551 float? temp = (float?)GetValue(AutoScrollLoopDelayProperty);
556 SetValue(AutoScrollLoopDelayProperty, value);
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
566 AutoScrollStopMode? temp = (AutoScrollStopMode?)GetValue(AutoScrollStopModeProperty);
571 SetValue(AutoScrollStopModeProperty, value);
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
581 LineWrapMode? temp = (LineWrapMode?)GetValue(LineWrapModeProperty);
586 SetValue(LineWrapModeProperty, value);
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
596 VerticalLineAlignment? temp = (VerticalLineAlignment?)GetValue(VerticalLineAlignmentProperty);
601 SetValue(VerticalLineAlignmentProperty, value);
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
611 bool? temp = (bool?)GetValue(MatchSystemLanguageDirectionProperty);
616 SetValue(MatchSystemLanguageDirectionProperty, value);
620 private Selector<string> textSelector;
621 private Selector<string> TextSelector
625 if (null == textSelector)
627 textSelector = new Selector<string>();
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
638 return (Selector<string>)GetValue(TextSelectorProperty);
642 SetValue(TextSelectorProperty, value);
646 private Selector<Color> textColorSelector;
647 private Selector<Color> TextColorSelector
651 if (null == textColorSelector)
653 textColorSelector = new Selector<Color>();
655 return textColorSelector;
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
664 return (Selector<Color>)GetValue(TextColorSelectorProperty);
668 SetValue(TextColorSelectorProperty, value);
672 private Selector<float?> pointSizeSelector;
673 private Selector<float?> PointSizeSelector
677 if (null == pointSizeSelector)
679 pointSizeSelector = new Selector<float?>();
681 return pointSizeSelector;
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
690 return (Selector<float?>)GetValue(PointSizeSelectorProperty);
694 SetValue(PointSizeSelectorProperty, value);