2 * Copyright(c) 2017 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 System.Runtime.InteropServices;
21 using Tizen.NUI.XamlBinding;
22 using static Tizen.NUI.UIComponents.Button;
24 namespace Tizen.NUI.Xaml.UIComponents
27 /// The Button class is a base class for different kinds of buttons.<br />
28 /// This class provides the disabled property and the clicked signal.<br />
29 /// The clicked event handler is emitted when the button is touched, and the touch point doesn't leave the boundary of the button.<br />
30 /// When the disabled property is set to true, no signal is emitted.<br />
31 /// The 'Visual' describes not just traditional images like PNG and BMP, but also refers to whatever is used to show the button. It could be a color, gradient, or some other kind of renderer.<br />
32 /// The button's appearance can be modified by setting properties for the various visuals or images.<br />
33 /// It is not mandatory to set all the visuals. A button could be defined only by setting its background visual, or by setting its background and selected visuals.<br />
34 /// The button visual is shown over the background visual.<br />
35 /// When pressed, the unselected visuals are replaced by the selected visuals.<br />
36 /// The text label is always placed on the top of all images.<br />
37 /// When the button is disabled, the background button and the selected visuals are replaced by their disabled visuals.<br />
39 /// <since_tizen> 6 </since_tizen>
40 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
41 [EditorBrowsable(EditorBrowsableState.Never)]
42 public class Button : Tizen.NUI.Xaml.Forms.BaseComponents.View
44 private Tizen.NUI.UIComponents.Button _button;
45 internal Tizen.NUI.UIComponents.Button button
51 _button = handleInstance as Tizen.NUI.UIComponents.Button;
59 /// Creates an uninitialized button.
61 /// <since_tizen> 6 </since_tizen>
62 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
63 [EditorBrowsable(EditorBrowsableState.Never)]
64 public Button() : this(new Tizen.NUI.UIComponents.Button())
68 internal Button(Tizen.NUI.UIComponents.Button nuiInstance) : base(nuiInstance)
70 SetNUIInstance(nuiInstance);
73 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
74 [EditorBrowsable(EditorBrowsableState.Never)]
75 public static readonly BindableProperty UnselectedVisualProperty = BindableProperty.Create("UnselectedVisual", typeof(PropertyMap), typeof(Button), null, propertyChanged: (bindable, oldValue, newValue) =>
77 var button = ((Button)bindable).button;
78 button.UnselectedVisual = (PropertyMap)newValue;
80 defaultValueCreator: (bindable) =>
82 var button = ((Button)bindable).button;
83 return button.UnselectedVisual;
85 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
86 [EditorBrowsable(EditorBrowsableState.Never)]
87 public static readonly BindableProperty SelectedVisualProperty = BindableProperty.Create("SelectedVisual", typeof(PropertyMap), typeof(Button), null, propertyChanged: (bindable, oldValue, newValue) =>
89 var button = ((Button)bindable).button;
90 button.SelectedVisual = (PropertyMap)newValue;
92 defaultValueCreator: (bindable) =>
94 var button = ((Button)bindable).button;
95 return button.SelectedVisual;
97 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
98 [EditorBrowsable(EditorBrowsableState.Never)]
99 public static readonly BindableProperty DisabledSelectedVisualProperty = BindableProperty.Create("DisabledSelectedVisual", typeof(PropertyMap), typeof(Button), null, propertyChanged: (bindable, oldValue, newValue) =>
101 var button = ((Button)bindable).button;
102 button.DisabledSelectedVisual = (PropertyMap)newValue;
104 defaultValueCreator: (bindable) =>
106 var button = ((Button)bindable).button;
107 return button.DisabledSelectedVisual;
109 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
110 [EditorBrowsable(EditorBrowsableState.Never)]
111 public static readonly BindableProperty DisabledUnselectedVisualProperty = BindableProperty.Create("DisabledUnselectedVisual", typeof(PropertyMap), typeof(Button), null, propertyChanged: (bindable, oldValue, newValue) =>
113 var button = ((Button)bindable).button;
114 button.DisabledUnselectedVisual = (PropertyMap)newValue;
116 defaultValueCreator: (bindable) =>
118 var button = ((Button)bindable).button;
119 return button.DisabledUnselectedVisual;
121 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
122 [EditorBrowsable(EditorBrowsableState.Never)]
123 public static readonly BindableProperty UnselectedBackgroundVisualProperty = BindableProperty.Create("UnselectedBackgroundVisual", typeof(PropertyMap), typeof(Button), null, propertyChanged: (bindable, oldValue, newValue) =>
125 var button = ((Button)bindable).button;
126 button.UnselectedBackgroundVisual = (PropertyMap)newValue;
128 defaultValueCreator: (bindable) =>
130 var button = ((Button)bindable).button;
131 return button.UnselectedBackgroundVisual;
133 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
134 [EditorBrowsable(EditorBrowsableState.Never)]
135 public static readonly BindableProperty SelectedBackgroundVisualProperty = BindableProperty.Create("SelectedBackgroundVisual", typeof(PropertyMap), typeof(Button), null, propertyChanged: (bindable, oldValue, newValue) =>
137 var button = ((Button)bindable).button;
138 button.SelectedBackgroundVisual = (PropertyMap)newValue;
140 defaultValueCreator: (bindable) =>
142 var button = ((Button)bindable).button;
143 return button.SelectedBackgroundVisual;
145 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
146 [EditorBrowsable(EditorBrowsableState.Never)]
147 public static readonly BindableProperty DisabledUnselectedBackgroundVisualProperty = BindableProperty.Create("DisabledUnselectedBackgroundVisual", typeof(PropertyMap), typeof(Button), null, propertyChanged: (bindable, oldValue, newValue) =>
149 var button = ((Button)bindable).button;
150 button.DisabledUnselectedBackgroundVisual = (PropertyMap)newValue;
152 defaultValueCreator: (bindable) =>
154 var button = ((Button)bindable).button;
155 return button.DisabledUnselectedBackgroundVisual;
157 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
158 [EditorBrowsable(EditorBrowsableState.Never)]
159 public static readonly BindableProperty DisabledSelectedBackgroundVisualProperty = BindableProperty.Create("DisabledSelectedBackgroundVisual", typeof(PropertyMap), typeof(Button), null, propertyChanged: (bindable, oldValue, newValue) =>
161 var button = ((Button)bindable).button;
162 button.DisabledSelectedBackgroundVisual = (PropertyMap)newValue;
164 defaultValueCreator: (bindable) =>
166 var button = ((Button)bindable).button;
167 return button.DisabledSelectedBackgroundVisual;
169 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
170 [EditorBrowsable(EditorBrowsableState.Never)]
171 public static readonly BindableProperty LabelRelativeAlignmentProperty = BindableProperty.Create("LabelRelativeAlignment", typeof(Align), typeof(Button), Align.End, propertyChanged: (bindable, oldValue, newValue) =>
173 var button = ((Button)bindable).button;
174 button.LabelRelativeAlignment = (Align)newValue;
176 defaultValueCreator: (bindable) =>
178 var button = ((Button)bindable).button;
179 return button.LabelRelativeAlignment;
181 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
182 [EditorBrowsable(EditorBrowsableState.Never)]
183 public static readonly BindableProperty LabelPaddingProperty = BindableProperty.Create("LabelPadding", typeof(Vector4), typeof(Button), null, propertyChanged: (bindable, oldValue, newValue) =>
185 var button = ((Button)bindable).button;
186 button.LabelPadding = (Vector4)newValue;
188 defaultValueCreator: (bindable) =>
190 var button = ((Button)bindable).button;
191 return button.LabelPadding;
193 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
194 [EditorBrowsable(EditorBrowsableState.Never)]
195 public static readonly BindableProperty ForegroundVisualPaddingProperty = BindableProperty.Create("ForegroundVisualPadding", typeof(Vector4), typeof(Button), null, propertyChanged: (bindable, oldValue, newValue) =>
197 var button = ((Button)bindable).button;
198 button.ForegroundVisualPadding = (Vector4)newValue;
200 defaultValueCreator: (bindable) =>
202 var button = ((Button)bindable).button;
203 return button.ForegroundVisualPadding;
205 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
206 [EditorBrowsable(EditorBrowsableState.Never)]
207 public static readonly BindableProperty AutoRepeatingProperty = BindableProperty.Create("AutoRepeating", typeof(bool), typeof(Button), false, propertyChanged: (bindable, oldValue, newValue) =>
209 var button = ((Button)bindable).button;
210 button.AutoRepeating = (bool)newValue;
212 defaultValueCreator: (bindable) =>
214 var button = ((Button)bindable).button;
215 return button.AutoRepeating;
217 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
218 [EditorBrowsable(EditorBrowsableState.Never)]
219 public static readonly BindableProperty InitialAutoRepeatingDelayProperty = BindableProperty.Create("InitialAutoRepeatingDelay", typeof(float), typeof(Button), default(float), propertyChanged: (bindable, oldValue, newValue) =>
221 var button = ((Button)bindable).button;
222 button.InitialAutoRepeatingDelay = (float)newValue;
224 defaultValueCreator: (bindable) =>
226 var button = ((Button)bindable).button;
227 return button.InitialAutoRepeatingDelay;
229 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
230 [EditorBrowsable(EditorBrowsableState.Never)]
231 public static readonly BindableProperty NextAutoRepeatingDelayProperty = BindableProperty.Create("NextAutoRepeatingDelay", typeof(float), typeof(Button), default(float), propertyChanged: (bindable, oldValue, newValue) =>
233 var button = ((Button)bindable).button;
234 button.NextAutoRepeatingDelay = (float)newValue;
236 defaultValueCreator: (bindable) =>
238 var button = ((Button)bindable).button;
239 return button.NextAutoRepeatingDelay;
241 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
242 [EditorBrowsable(EditorBrowsableState.Never)]
243 public static readonly BindableProperty TogglableProperty = BindableProperty.Create("Togglable", typeof(bool), typeof(Button), false, propertyChanged: (bindable, oldValue, newValue) =>
245 var button = ((Button)bindable).button;
246 button.Togglable = (bool)newValue;
248 defaultValueCreator: (bindable) =>
250 var button = ((Button)bindable).button;
251 return button.Togglable;
253 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
254 [EditorBrowsable(EditorBrowsableState.Never)]
255 public static readonly BindableProperty SelectedProperty = BindableProperty.Create("Selected", typeof(bool), typeof(Button), false, propertyChanged: (bindable, oldValue, newValue) =>
257 var button = ((Button)bindable).button;
258 button.Selected = (bool)newValue;
260 defaultValueCreator: (bindable) =>
262 var button = ((Button)bindable).button;
263 return button.Selected;
265 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
266 [EditorBrowsable(EditorBrowsableState.Never)]
267 public static readonly BindableProperty UnselectedColorProperty = BindableProperty.Create("UnselectedColor", typeof(Color), typeof(Button), null, propertyChanged: (bindable, oldValue, newValue) =>
269 var button = ((Button)bindable).button;
270 button.UnselectedColor = (Color)newValue;
272 defaultValueCreator: (bindable) =>
274 var button = ((Button)bindable).button;
275 return button.UnselectedColor;
277 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
278 [EditorBrowsable(EditorBrowsableState.Never)]
279 public static readonly BindableProperty SelectedColorProperty = BindableProperty.Create("SelectedColor", typeof(Color), typeof(Button), null, propertyChanged: (bindable, oldValue, newValue) =>
281 var button = ((Button)bindable).button;
282 button.SelectedColor = (Color)newValue;
284 defaultValueCreator: (bindable) =>
286 var button = ((Button)bindable).button;
287 return button.SelectedColor;
289 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
290 [EditorBrowsable(EditorBrowsableState.Never)]
291 public static readonly BindableProperty LabelProperty = BindableProperty.Create("Label", typeof(PropertyMap), typeof(Button), null, propertyChanged: (bindable, oldValue, newValue) =>
293 var button = ((Button)bindable).button;
294 button.Label = (PropertyMap)newValue;
296 defaultValueCreator: (bindable) =>
298 var button = ((Button)bindable).button;
301 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
302 [EditorBrowsable(EditorBrowsableState.Never)]
303 public static readonly BindableProperty LabelTextProperty = BindableProperty.Create("LabelText", typeof(string), typeof(Button), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
305 var button = ((Button)bindable).button;
306 button.LabelText = (string)newValue;
308 defaultValueCreator: (bindable) =>
310 var button = ((Button)bindable).button;
311 return button.LabelText;
315 /// The Clicked event will be triggered when the button is touched and the touch point doesn't leave the boundary of the button.
317 /// <since_tizen> 6 </since_tizen>
318 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
319 [EditorBrowsable(EditorBrowsableState.Never)]
320 public event EventHandlerWithReturnType<object, EventArgs, bool> Clicked
324 button.Clicked += value;
329 button.Clicked -= value;
334 /// The Pressed event will be triggered when the button is touched.
336 /// <since_tizen> 6 </since_tizen>
337 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
338 [EditorBrowsable(EditorBrowsableState.Never)]
339 public event EventHandlerWithReturnType<object, EventArgs, bool> Pressed
343 button.Pressed += value;
348 button.Pressed -= value;
353 /// The Released event will be triggered when the button is touched and the touch point leaves the boundary of the button.
355 /// <since_tizen> 6 </since_tizen>
356 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
357 [EditorBrowsable(EditorBrowsableState.Never)]
358 public event EventHandlerWithReturnType<object, EventArgs, bool> Released
362 button.Released += value;
367 button.Released -= value;
372 /// The StateChanged event will be triggered when the button's state is changed.
374 /// <since_tizen> 6 </since_tizen>
375 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
376 [EditorBrowsable(EditorBrowsableState.Never)]
377 public event EventHandlerWithReturnType<object, EventArgs, bool> StateChanged
381 button.StateChanged += value;
386 button.StateChanged -= value;
391 /// Gets or sets the unselected button foreground or icon visual.
393 /// <since_tizen> 6 </since_tizen>
394 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
395 [EditorBrowsable(EditorBrowsableState.Never)]
396 public PropertyMap UnselectedVisual
400 return (PropertyMap)GetValue(UnselectedVisualProperty);
404 SetValue(UnselectedVisualProperty, value);
409 /// Gets or sets the selected button foreground or icon visual.
411 /// <since_tizen> 6 </since_tizen>
412 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
413 [EditorBrowsable(EditorBrowsableState.Never)]
414 public PropertyMap SelectedVisual
418 return (PropertyMap)GetValue(SelectedVisualProperty);
422 SetValue(SelectedVisualProperty, value);
427 /// Gets or sets the disabled selected state foreground or icon button visual.
429 /// <since_tizen> 6 </since_tizen>
430 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
431 [EditorBrowsable(EditorBrowsableState.Never)]
432 public PropertyMap DisabledSelectedVisual
436 return (PropertyMap)GetValue(DisabledSelectedVisualProperty);
440 SetValue(DisabledSelectedVisualProperty, value);
445 /// Gets or sets the disabled unselected state foreground or icon visual.
447 /// <since_tizen> 6 </since_tizen>
448 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
449 [EditorBrowsable(EditorBrowsableState.Never)]
450 public PropertyMap DisabledUnselectedVisual
454 return (PropertyMap)GetValue(DisabledUnselectedVisualProperty);
458 SetValue(DisabledUnselectedVisualProperty, value);
463 /// Gets or sets the disabled unselected state background button visual.
465 /// <since_tizen> 6 </since_tizen>
466 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
467 [EditorBrowsable(EditorBrowsableState.Never)]
468 public PropertyMap UnselectedBackgroundVisual
472 return (PropertyMap)GetValue(UnselectedBackgroundVisualProperty);
476 SetValue(UnselectedBackgroundVisualProperty, value);
481 /// Gets or sets the selected background button visual.
483 /// <since_tizen> 6 </since_tizen>
484 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
485 [EditorBrowsable(EditorBrowsableState.Never)]
486 public PropertyMap SelectedBackgroundVisual
490 return (PropertyMap)GetValue(SelectedBackgroundVisualProperty);
494 SetValue(SelectedBackgroundVisualProperty, value);
499 /// Gets or sets the disabled while unselected background button visual.
501 /// <since_tizen> 6 </since_tizen>
502 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
503 [EditorBrowsable(EditorBrowsableState.Never)]
504 public PropertyMap DisabledUnselectedBackgroundVisual
508 return (PropertyMap)GetValue(DisabledUnselectedBackgroundVisualProperty);
512 SetValue(DisabledUnselectedBackgroundVisualProperty, value);
517 /// Gets or sets the disabled while selected background button visual.
519 /// <since_tizen> 6 </since_tizen>
520 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
521 [EditorBrowsable(EditorBrowsableState.Never)]
522 public PropertyMap DisabledSelectedBackgroundVisual
526 return (PropertyMap)GetValue(DisabledSelectedBackgroundVisualProperty);
530 SetValue(DisabledSelectedBackgroundVisualProperty, value);
535 /// Gets or sets the position of the the label in relation to the foreground or icon, if both present.
537 /// <since_tizen> 6 </since_tizen>
538 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
539 [EditorBrowsable(EditorBrowsableState.Never)]
540 public Align LabelRelativeAlignment
544 return (Align)GetValue(LabelRelativeAlignmentProperty);
548 SetValue(LabelRelativeAlignmentProperty, value);
553 /// Gets or sets the padding around the text.
555 /// <since_tizen> 6 </since_tizen>
556 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
557 [EditorBrowsable(EditorBrowsableState.Never)]
558 public Vector4 LabelPadding
562 return (Vector4)GetValue(LabelPaddingProperty);
566 SetValue(LabelPaddingProperty, value);
571 /// Gets or sets the padding around the foreground visual.
573 /// <since_tizen> 6 </since_tizen>
574 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
575 [EditorBrowsable(EditorBrowsableState.Never)]
576 public Vector4 ForegroundVisualPadding
580 return (Vector4)GetValue(ForegroundVisualPaddingProperty);
584 SetValue(ForegroundVisualPaddingProperty, value);
589 /// If the autorepeating property is set to true, then the togglable property is set to false.
591 /// <since_tizen> 6 </since_tizen>
592 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
593 [EditorBrowsable(EditorBrowsableState.Never)]
594 public bool AutoRepeating
598 return (bool)GetValue(AutoRepeatingProperty);
602 SetValue(AutoRepeatingProperty, value);
607 /// By default, this value is set to 0.15 seconds.
609 /// <since_tizen> 6 </since_tizen>
610 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
611 [EditorBrowsable(EditorBrowsableState.Never)]
612 public float InitialAutoRepeatingDelay
616 return (float)GetValue(InitialAutoRepeatingDelayProperty);
620 SetValue(InitialAutoRepeatingDelayProperty, value);
625 /// By default, this value is set to 0.05 seconds.
627 /// <since_tizen> 6 </since_tizen>
628 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
629 [EditorBrowsable(EditorBrowsableState.Never)]
630 public float NextAutoRepeatingDelay
634 return (float)GetValue(NextAutoRepeatingDelayProperty);
638 SetValue(NextAutoRepeatingDelayProperty, value);
643 /// If the togglable property is set to true, then the autorepeating property is set to false.
645 /// <since_tizen> 6 </since_tizen>
646 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
647 [EditorBrowsable(EditorBrowsableState.Never)]
648 public bool Togglable
652 return (bool)GetValue(TogglableProperty);
656 SetValue(TogglableProperty, value);
661 /// Gets or sets the togglable button as either selected or unselected, togglable property must be set to true.
663 /// <since_tizen> 6 </since_tizen>
664 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
665 [EditorBrowsable(EditorBrowsableState.Never)]
670 return (bool)GetValue(SelectedProperty);
674 SetValue(SelectedProperty, value);
679 /// Gets or sets the unselected color.
681 /// <since_tizen> 6 </since_tizen>
682 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
683 [EditorBrowsable(EditorBrowsableState.Never)]
684 public Color UnselectedColor
688 return (Color)GetValue(UnselectedColorProperty);
692 SetValue(UnselectedColorProperty, value);
697 /// Gets or sets the selected color.
699 /// <since_tizen> 6 </since_tizen>
700 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
701 [EditorBrowsable(EditorBrowsableState.Never)]
702 public Color SelectedColor
706 return (Color)GetValue(SelectedColorProperty);
710 SetValue(SelectedColorProperty, value);
715 /// Gets or sets the label.
717 /// <since_tizen> 6 </since_tizen>
718 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
719 [EditorBrowsable(EditorBrowsableState.Never)]
720 public PropertyMap Label
724 return (PropertyMap)GetValue(LabelProperty);
728 SetValue(LabelProperty, value);
733 /// Gets or sets the text of the label.
735 /// <since_tizen> 6 </since_tizen>
736 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
737 [EditorBrowsable(EditorBrowsableState.Never)]
738 public string LabelText
742 return (string)GetValue(LabelTextProperty);
746 SetValue(LabelTextProperty, value);