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;
48 static TextLabelStyle() { }
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) =>
54 var textFieldStyle = (TextLabelStyle)bindable;
55 textFieldStyle.TranslatableTextSelector.Clone((Selector<string>)newValue);
57 defaultValueCreator: (bindable) =>
59 var textFieldStyle = (TextLabelStyle)bindable;
60 return textFieldStyle.TranslatableTextSelector;
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) =>
66 var textFieldStyle = (TextLabelStyle)bindable;
67 textFieldStyle.TextSelector.Clone((Selector<string>)newValue);
69 defaultValueCreator: (bindable) =>
71 var textFieldStyle = (TextLabelStyle)bindable;
72 return textFieldStyle.TextSelector;
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) =>
78 var textFieldStyle = (TextLabelStyle)bindable;
79 textFieldStyle.FontFamilySelector.Clone((Selector<string>)newValue);
81 defaultValueCreator: (bindable) =>
83 var textFieldStyle = (TextLabelStyle)bindable;
84 return textFieldStyle.FontFamilySelector;
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) =>
90 var textFieldStyle = (TextLabelStyle)bindable;
91 textFieldStyle.PointSizeSelector.Clone((Selector<float?>)newValue);
93 defaultValueCreator: (bindable) =>
95 var textFieldStyle = (TextLabelStyle)bindable;
96 return textFieldStyle.PointSizeSelector;
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) =>
102 var textFieldStyle = (TextLabelStyle)bindable;
103 textFieldStyle.TextColorSelector.Clone((Selector<Color>)newValue);
105 defaultValueCreator: (bindable) =>
107 var textFieldStyle = (TextLabelStyle)bindable;
108 return textFieldStyle.TextColorSelector;
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) =>
115 var textLabelStyle = (TextLabelStyle)bindable;
116 textLabelStyle.multiLine = (bool?)newValue;
118 defaultValueCreator: (bindable) =>
120 var textLabelStyle = (TextLabelStyle)bindable;
121 return textLabelStyle.multiLine;
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) =>
127 var textLabelStyle = (TextLabelStyle)bindable;
128 textLabelStyle.horizontalAlignment = (HorizontalAlignment?)newValue;
130 defaultValueCreator: (bindable) =>
132 var textLabelStyle = (TextLabelStyle)bindable;
133 return textLabelStyle.horizontalAlignment;
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) =>
139 var textLabelStyle = (TextLabelStyle)bindable;
140 textLabelStyle.verticalAlignment = (VerticalAlignment?)newValue;
142 defaultValueCreator: (bindable) =>
144 var textLabelStyle = (TextLabelStyle)bindable;
145 return textLabelStyle.verticalAlignment;
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) =>
151 var textLabelStyle = (TextLabelStyle)bindable;
152 textLabelStyle.enableMarkup = (bool?)newValue;
154 defaultValueCreator: (bindable) =>
156 var textLabelStyle = (TextLabelStyle)bindable;
157 return textLabelStyle.enableMarkup;
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) =>
163 var textLabelStyle = (TextLabelStyle)bindable;
164 textLabelStyle.enableAutoScroll = (bool?)newValue;
166 defaultValueCreator: (bindable) =>
168 var textLabelStyle = (TextLabelStyle)bindable;
169 return textLabelStyle.enableAutoScroll;
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) =>
175 var textLabelStyle = (TextLabelStyle)bindable;
176 textLabelStyle.autoScrollSpeed = (int?)newValue;
178 defaultValueCreator: (bindable) =>
180 var textLabelStyle = (TextLabelStyle)bindable;
181 return textLabelStyle.autoScrollSpeed;
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) =>
187 var textLabelStyle = (TextLabelStyle)bindable;
188 textLabelStyle.autoScrollLoopCount = (int?)newValue;
190 defaultValueCreator: (bindable) =>
192 var textLabelStyle = (TextLabelStyle)bindable;
193 return textLabelStyle.autoScrollLoopCount;
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) =>
199 var textLabelStyle = (TextLabelStyle)bindable;
200 textLabelStyle.autoScrollGap = (float?)newValue;
202 defaultValueCreator: (bindable) =>
204 var textLabelStyle = (TextLabelStyle)bindable;
205 return textLabelStyle.autoScrollGap;
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) =>
211 var textLabelStyle = (TextLabelStyle)bindable;
212 textLabelStyle.lineSpacing = (float?)newValue;
214 defaultValueCreator: (bindable) =>
216 var textLabelStyle = (TextLabelStyle)bindable;
217 return textLabelStyle.lineSpacing;
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) =>
223 var textLabelStyle = (TextLabelStyle)bindable;
224 textLabelStyle.emboss = (string)newValue;
226 defaultValueCreator: (bindable) =>
228 var textLabelStyle = (TextLabelStyle)bindable;
229 return textLabelStyle.emboss;
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) =>
235 var textLabelStyle = (TextLabelStyle)bindable;
236 textLabelStyle.pixelSize = (float?)newValue;
238 defaultValueCreator: (bindable) =>
240 var textLabelStyle = (TextLabelStyle)bindable;
241 return textLabelStyle.pixelSize;
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) =>
247 var textLabelStyle = (TextLabelStyle)bindable;
248 textLabelStyle.ellipsis = (bool?)newValue;
250 defaultValueCreator: (bindable) =>
252 var textLabelStyle = (TextLabelStyle)bindable;
253 return textLabelStyle.ellipsis;
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) =>
259 var textLabelStyle = (TextLabelStyle)bindable;
260 textLabelStyle.autoScrollLoopDelay = (float?)newValue;
262 defaultValueCreator: (bindable) =>
264 var textLabelStyle = (TextLabelStyle)bindable;
265 return textLabelStyle.autoScrollLoopDelay;
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) =>
271 var textLabelStyle = (TextLabelStyle)bindable;
272 textLabelStyle.autoScrollStopMode = (AutoScrollStopMode?)newValue;
274 defaultValueCreator: (bindable) =>
276 var textLabelStyle = (TextLabelStyle)bindable;
277 return textLabelStyle.autoScrollStopMode;
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) =>
283 var textLabelStyle = (TextLabelStyle)bindable;
284 textLabelStyle.lineWrapMode = (LineWrapMode?)newValue;
286 defaultValueCreator: (bindable) =>
288 var textLabelStyle = (TextLabelStyle)bindable;
289 return textLabelStyle.lineWrapMode;
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) =>
295 var textLabelStyle = (TextLabelStyle)bindable;
296 textLabelStyle.verticalLineAlignment = (VerticalLineAlignment?)newValue;
298 defaultValueCreator: (bindable) =>
300 var textLabelStyle = (TextLabelStyle)bindable;
301 return textLabelStyle.verticalLineAlignment;
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) =>
307 var textLabelStyle = (TextLabelStyle)bindable;
308 textLabelStyle.matchSystemLanguageDirection = (bool?)newValue;
310 defaultValueCreator: (bindable) =>
312 var textLabelStyle = (TextLabelStyle)bindable;
313 return textLabelStyle.matchSystemLanguageDirection;
316 private Selector<string> translatableTextSelector;
317 private Selector<string> TranslatableTextSelector
321 if (null == translatableTextSelector)
323 translatableTextSelector = new Selector<string>();
325 return translatableTextSelector;
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
334 return (Selector<string>)GetValue(TranslatableTextSelectorProperty);
338 SetValue(TranslatableTextSelectorProperty, value);
342 private Selector<string> fontFamilySelector;
343 private Selector<string> FontFamilySelector
347 if (null == fontFamilySelector)
349 fontFamilySelector = new Selector<string>();
351 return fontFamilySelector;
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
360 return (Selector<string>)GetValue(FontFamilySelectorProperty);
364 SetValue(FontFamilySelectorProperty, value);
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
374 bool? temp = (bool?)GetValue(MultiLineProperty);
379 SetValue(MultiLineProperty, value);
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
389 HorizontalAlignment? temp = (HorizontalAlignment?)GetValue(HorizontalAlignmentProperty);
394 SetValue(HorizontalAlignmentProperty, value);
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
404 VerticalAlignment? temp = (VerticalAlignment?)GetValue(VerticalAlignmentProperty);
409 SetValue(VerticalAlignmentProperty, value);
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
419 bool? temp = (bool?)GetValue(EnableMarkupProperty);
424 SetValue(EnableMarkupProperty, value);
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
434 bool? temp = (bool?)GetValue(EnableAutoScrollProperty);
439 SetValue(EnableAutoScrollProperty, value);
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
449 int? temp = (int?)GetValue(AutoScrollSpeedProperty);
454 SetValue(AutoScrollSpeedProperty, value);
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
464 int? temp = (int?)GetValue(AutoScrollLoopCountProperty);
469 SetValue(AutoScrollLoopCountProperty, value);
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
479 float? temp = (float?)GetValue(AutoScrollGapProperty);
484 SetValue(AutoScrollGapProperty, value);
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
494 float? temp = (float?)GetValue(LineSpacingProperty);
499 SetValue(LineSpacingProperty, value);
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)]
509 string temp = (string)GetValue(EmbossProperty);
514 SetValue(EmbossProperty, value);
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
524 float? temp = (float?)GetValue(PixelSizeProperty);
529 SetValue(PixelSizeProperty, value);
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
539 bool? temp = (bool?)GetValue(EllipsisProperty);
544 SetValue(EllipsisProperty, value);
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
554 float? temp = (float?)GetValue(AutoScrollLoopDelayProperty);
559 SetValue(AutoScrollLoopDelayProperty, value);
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
569 AutoScrollStopMode? temp = (AutoScrollStopMode?)GetValue(AutoScrollStopModeProperty);
574 SetValue(AutoScrollStopModeProperty, value);
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
584 LineWrapMode? temp = (LineWrapMode?)GetValue(LineWrapModeProperty);
589 SetValue(LineWrapModeProperty, value);
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
599 VerticalLineAlignment? temp = (VerticalLineAlignment?)GetValue(VerticalLineAlignmentProperty);
604 SetValue(VerticalLineAlignmentProperty, value);
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
614 bool? temp = (bool?)GetValue(MatchSystemLanguageDirectionProperty);
619 SetValue(MatchSystemLanguageDirectionProperty, value);
623 private Selector<string> textSelector;
624 private Selector<string> TextSelector
628 if (null == textSelector)
630 textSelector = new Selector<string>();
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
641 return (Selector<string>)GetValue(TextSelectorProperty);
645 SetValue(TextSelectorProperty, value);
649 private Selector<Color> textColorSelector;
650 private Selector<Color> TextColorSelector
654 if (null == textColorSelector)
656 textColorSelector = new Selector<Color>();
658 return textColorSelector;
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
667 return (Selector<Color>)GetValue(TextColorSelectorProperty);
671 SetValue(TextColorSelectorProperty, value);
675 private Selector<float?> pointSizeSelector;
676 private Selector<float?> PointSizeSelector
680 if (null == pointSizeSelector)
682 pointSizeSelector = new Selector<float?>();
684 return pointSizeSelector;
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
693 return (Selector<float?>)GetValue(PointSizeSelectorProperty);
697 SetValue(PointSizeSelectorProperty, value);