1 // Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
\r
2 // PROPRIETARY/CONFIDENTIAL
\r
3 // This software is the confidential and proprietary
\r
4 // information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall
\r
5 // not disclose such Confidential Information and shall use it only in
\r
6 // accordance with the terms of the license agreement you entered into with
\r
7 // SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the
\r
8 // suitability of the software, either express or implied, including but not
\r
9 // limited to the implied warranties of merchantability, fitness for a
\r
10 // particular purpose, or non-infringement. SAMSUNG shall not be liable for any
\r
11 // damages suffered by licensee as a result of using, modifying or distributing
\r
12 // this software or its derivatives.
\r
14 // Copyright (c) 2017 Samsung Electronics Co., Ltd.
\r
16 // Licensed under the Apache License, Version 2.0 (the "License");
\r
17 // you may not use this file except in compliance with the License.
\r
18 // You may obtain a copy of the License at
\r
20 // http://www.apache.org/licenses/LICENSE-2.0
\r
22 // Unless required by applicable law or agreed to in writing, software
\r
23 // distributed under the License is distributed on an "AS IS" BASIS,
\r
24 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
25 // See the License for the specific language governing permissions and
\r
26 // limitations under the License.
\r
29 // This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
\r
30 // Some have been manually changed
\r
36 using System.Runtime.InteropServices;
\r
39 public class Button : View
\r
41 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
\r
43 internal Button(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Button_SWIGUpcast(cPtr), cMemoryOwn)
\r
45 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
\r
48 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Button obj)
\r
50 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
\r
55 DisposeQueue.Instance.Add(this);
\r
58 public override void Dispose()
\r
60 if (!Stage.IsInstalled())
\r
62 DisposeQueue.Instance.Add(this);
\r
68 if (swigCPtr.Handle != global::System.IntPtr.Zero)
\r
72 swigCMemOwn = false;
\r
73 NDalicPINVOKE.delete_Button(swigCPtr);
\r
75 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
\r
77 global::System.GC.SuppressFinalize(this);
\r
83 private EventHandlerWithReturnType<object, EventArgs, bool> _clickedEventHandler;
\r
84 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
\r
85 private delegate bool ClickedCallbackType(global::System.IntPtr data);
\r
86 private ClickedCallbackType _clickedCallback;
\r
88 public event EventHandlerWithReturnType<object, EventArgs, bool> Clicked
\r
92 if (_clickedEventHandler == null)
\r
94 _clickedCallback = OnClicked;
\r
95 ClickedSignal().Connect(_clickedCallback);
\r
98 _clickedEventHandler += value;
\r
103 if (_clickedEventHandler != null)
\r
105 ClickedSignal().Disconnect(_clickedCallback);
\r
108 _clickedEventHandler -= value;
\r
113 private bool OnClicked(IntPtr data)
\r
115 if (_clickedEventHandler != null)
\r
117 return _clickedEventHandler(this, null);
\r
124 private EventHandlerWithReturnType<object, EventArgs, bool> _pressedEventHandler;
\r
125 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
\r
126 private delegate bool PressedCallbackType(global::System.IntPtr data);
\r
127 private PressedCallbackType _pressedCallback;
\r
129 public event EventHandlerWithReturnType<object, EventArgs, bool> Pressed
\r
133 if (_pressedEventHandler == null)
\r
135 _pressedCallback = OnPressed;
\r
136 PressedSignal().Connect(_pressedCallback);
\r
139 _pressedEventHandler += value;
\r
144 if (_pressedEventHandler != null)
\r
146 this.PressedSignal().Disconnect(_pressedCallback);
\r
149 _pressedEventHandler -= value;
\r
153 private bool OnPressed(IntPtr data)
\r
155 if (_pressedEventHandler != null)
\r
157 return _pressedEventHandler(this, null);
\r
164 private EventHandlerWithReturnType<object, EventArgs, bool> _releasedEventHandler;
\r
165 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
\r
166 private delegate bool ReleasedCallbackType(global::System.IntPtr data);
\r
167 private ReleasedCallbackType _releasedCallback;
\r
169 public event EventHandlerWithReturnType<object, EventArgs, bool> Released
\r
173 if (_releasedEventHandler == null)
\r
175 _releasedCallback = OnReleased;
\r
176 ReleasedSignal().Connect(_releasedCallback);
\r
179 _releasedEventHandler += value;
\r
186 if (_releasedEventHandler != null)
\r
188 ReleasedSignal().Disconnect(_releasedCallback);
\r
191 _releasedEventHandler -= value;
\r
196 private bool OnReleased(IntPtr data)
\r
198 if (_releasedEventHandler != null)
\r
200 return _releasedEventHandler(this, null);
\r
206 private EventHandlerWithReturnType<object, EventArgs, bool> _stateChangedEventHandler;
\r
207 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
\r
208 private delegate bool StateChangedCallback(global::System.IntPtr data);
\r
209 private StateChangedCallback _stateChangedCallback;
\r
211 public event EventHandlerWithReturnType<object, EventArgs, bool> StateChanged
\r
215 if (_stateChangedEventHandler == null)
\r
217 _stateChangedCallback = OnStateChanged;
\r
218 StateChangedSignal().Connect(_stateChangedCallback);
\r
221 _stateChangedEventHandler += value;
\r
226 if (_stateChangedEventHandler != null)
\r
228 StateChangedSignal().Disconnect(_stateChangedCallback);
\r
231 _stateChangedEventHandler -= value;
\r
235 private bool OnStateChanged(IntPtr data)
\r
237 if (_stateChangedEventHandler != null)
\r
239 return _stateChangedEventHandler(this, null);
\r
246 public static Button GetButtonFromPtr(global::System.IntPtr cPtr)
\r
248 Button ret = new Button(cPtr, false);
\r
249 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
253 public Tizen.NUI.PropertyMap UnselectedVisual
\r
257 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
258 GetProperty(Button.Property.UNSELECTED_VISUAL).Get(temp);
\r
263 SetProperty(Button.Property.UNSELECTED_VISUAL, new Tizen.NUI.PropertyValue(value));
\r
267 public Tizen.NUI.PropertyMap SelectedVisual
\r
271 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
272 GetProperty(Button.Property.SELECTED_VISUAL).Get(temp);
\r
277 SetProperty(Button.Property.SELECTED_VISUAL, new Tizen.NUI.PropertyValue(value));
\r
281 public Tizen.NUI.PropertyMap DisabledSelectedVisual
\r
285 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
286 GetProperty(Button.Property.DISABLED_SELECTED_VISUAL).Get(temp);
\r
291 SetProperty(Button.Property.DISABLED_SELECTED_VISUAL, new Tizen.NUI.PropertyValue(value));
\r
295 public Tizen.NUI.PropertyMap DisabledUnselectedVisual
\r
299 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
300 GetProperty(Button.Property.DISABLED_UNSELECTED_VISUAL).Get(temp);
\r
305 SetProperty(Button.Property.DISABLED_UNSELECTED_VISUAL, new Tizen.NUI.PropertyValue(value));
\r
309 public Tizen.NUI.PropertyMap UnselectedBackgroundVisual
\r
313 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
314 GetProperty(Button.Property.UNSELECTED_BACKGROUND_VISUAL).Get(temp);
\r
319 SetProperty(Button.Property.UNSELECTED_BACKGROUND_VISUAL, new Tizen.NUI.PropertyValue(value));
\r
323 public Tizen.NUI.PropertyMap SelectedBackgroundVisual
\r
327 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
328 GetProperty(Button.Property.SELECTED_BACKGROUND_VISUAL).Get(temp);
\r
333 SetProperty(Button.Property.SELECTED_BACKGROUND_VISUAL, new Tizen.NUI.PropertyValue(value));
\r
337 public Tizen.NUI.PropertyMap DisabledUnselectedBackgroundVisual
\r
341 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
342 GetProperty(Button.Property.DISABLED_UNSELECTED_BACKGROUND_VISUAL).Get(temp);
\r
347 SetProperty(Button.Property.DISABLED_UNSELECTED_BACKGROUND_VISUAL, new Tizen.NUI.PropertyValue(value));
\r
351 public Tizen.NUI.PropertyMap DisabledSelectedBackgroundVisual
\r
355 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
356 GetProperty(Button.Property.DISABLED_SELECTED_BACKGROUND_VISUAL).Get(temp);
\r
361 SetProperty(Button.Property.DISABLED_SELECTED_BACKGROUND_VISUAL, new Tizen.NUI.PropertyValue(value));
\r
365 public string LabelRelativeAlignment
\r
370 GetProperty(Button.Property.LABEL_RELATIVE_ALIGNMENT).Get(out temp);
\r
375 SetProperty(Button.Property.LABEL_RELATIVE_ALIGNMENT, new Tizen.NUI.PropertyValue(value));
\r
379 public Vector4 LabelPadding
\r
383 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
\r
384 GetProperty(Button.Property.LABEL_PADDING).Get(temp);
\r
389 SetProperty(Button.Property.LABEL_PADDING, new Tizen.NUI.PropertyValue(value));
\r
393 public Vector4 VisualPadding
\r
397 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
\r
398 GetProperty(Button.Property.VISUAL_PADDING).Get(temp);
\r
403 SetProperty(Button.Property.VISUAL_PADDING, new Tizen.NUI.PropertyValue(value));
\r
407 internal class Property : global::System.IDisposable
\r
409 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
\r
410 protected bool swigCMemOwn;
\r
412 internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
\r
414 swigCMemOwn = cMemoryOwn;
\r
415 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
\r
418 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
\r
420 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
\r
428 public virtual void Dispose()
\r
432 if (swigCPtr.Handle != global::System.IntPtr.Zero)
\r
436 swigCMemOwn = false;
\r
437 NDalicPINVOKE.delete_Button_Property(swigCPtr);
\r
439 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
\r
441 global::System.GC.SuppressFinalize(this);
\r
445 internal static readonly int UNSELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_UNSELECTED_VISUAL_get();
\r
446 internal static readonly int SELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_SELECTED_VISUAL_get();
\r
447 internal static readonly int DISABLED_SELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_SELECTED_VISUAL_get();
\r
448 internal static readonly int DISABLED_UNSELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_UNSELECTED_VISUAL_get();
\r
449 internal static readonly int UNSELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_UNSELECTED_BACKGROUND_VISUAL_get();
\r
450 internal static readonly int SELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_SELECTED_BACKGROUND_VISUAL_get();
\r
451 internal static readonly int DISABLED_UNSELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_UNSELECTED_BACKGROUND_VISUAL_get();
\r
452 internal static readonly int DISABLED_SELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_SELECTED_BACKGROUND_VISUAL_get();
\r
453 internal static readonly int LABEL_RELATIVE_ALIGNMENT = NDalicManualPINVOKE.Button_Property_LABEL_RELATIVE_ALIGNMENT_get();
\r
454 internal static readonly int LABEL_PADDING = NDalicManualPINVOKE.Button_Property_LABEL_PADDING_get();
\r
455 internal static readonly int VISUAL_PADDING = NDalicManualPINVOKE.Button_Property_VISUAL_PADDING_get();
\r
457 internal Property() : this(NDalicPINVOKE.new_Button_Property(), true)
\r
459 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
462 internal static readonly int DISABLED = NDalicPINVOKE.Button_Property_DISABLED_get();
\r
463 internal static readonly int AUTO_REPEATING = NDalicPINVOKE.Button_Property_AUTO_REPEATING_get();
\r
464 internal static readonly int INITIAL_AUTO_REPEATING_DELAY = NDalicPINVOKE.Button_Property_INITIAL_AUTO_REPEATING_DELAY_get();
\r
465 internal static readonly int NEXT_AUTO_REPEATING_DELAY = NDalicPINVOKE.Button_Property_NEXT_AUTO_REPEATING_DELAY_get();
\r
466 internal static readonly int TOGGLABLE = NDalicPINVOKE.Button_Property_TOGGLABLE_get();
\r
467 internal static readonly int SELECTED = NDalicPINVOKE.Button_Property_SELECTED_get();
\r
468 internal static readonly int UNSELECTED_STATE_IMAGE = NDalicPINVOKE.Button_Property_UNSELECTED_STATE_IMAGE_get();
\r
469 internal static readonly int SELECTED_STATE_IMAGE = NDalicPINVOKE.Button_Property_SELECTED_STATE_IMAGE_get();
\r
470 internal static readonly int DISABLED_STATE_IMAGE = NDalicPINVOKE.Button_Property_DISABLED_STATE_IMAGE_get();
\r
471 internal static readonly int UNSELECTED_COLOR = NDalicPINVOKE.Button_Property_UNSELECTED_COLOR_get();
\r
472 internal static readonly int SELECTED_COLOR = NDalicPINVOKE.Button_Property_SELECTED_COLOR_get();
\r
473 internal static readonly int LABEL = NDalicPINVOKE.Button_Property_LABEL_get();
\r
474 internal static readonly int LABEL_TEXT = NDalicPINVOKE.Button_Property_LABEL_TEXT_get();
\r
478 public Button() : this(NDalicPINVOKE.new_Button__SWIG_0(), true)
\r
480 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
483 internal Button(Button button) : this(NDalicPINVOKE.new_Button__SWIG_1(Button.getCPtr(button)), true)
\r
485 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
488 internal Button Assign(Button button)
\r
490 Button ret = new Button(NDalicPINVOKE.Button_Assign(swigCPtr, Button.getCPtr(button)), false);
\r
491 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
495 public new static Button DownCast(BaseHandle handle)
\r
497 Button ret = new Button(NDalicPINVOKE.Button_DownCast(BaseHandle.getCPtr(handle)), true);
\r
498 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
502 internal bool IsDisabled()
\r
504 bool ret = NDalicPINVOKE.Button_IsDisabled(swigCPtr);
\r
505 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
509 internal bool IsAutoRepeating()
\r
511 bool ret = NDalicPINVOKE.Button_IsAutoRepeating(swigCPtr);
\r
512 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
516 internal float GetInitialAutoRepeatingDelay()
\r
518 float ret = NDalicPINVOKE.Button_GetInitialAutoRepeatingDelay(swigCPtr);
\r
519 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
523 internal float GetNextAutoRepeatingDelay()
\r
525 float ret = NDalicPINVOKE.Button_GetNextAutoRepeatingDelay(swigCPtr);
\r
526 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
530 internal bool IsTogglableButton()
\r
532 bool ret = NDalicPINVOKE.Button_IsTogglableButton(swigCPtr);
\r
533 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
537 internal bool IsSelected()
\r
539 bool ret = NDalicPINVOKE.Button_IsSelected(swigCPtr);
\r
540 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
544 public float GetAnimationTime()
\r
546 float ret = NDalicPINVOKE.Button_GetAnimationTime(swigCPtr);
\r
547 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
551 internal string GetLabelText()
\r
553 string ret = NDalicPINVOKE.Button_GetLabelText(swigCPtr);
\r
554 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
558 internal void SetLabel(Actor label)
\r
560 NDalicPINVOKE.Button_SetLabel(swigCPtr, Actor.getCPtr(label));
\r
561 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
564 internal void SetButtonImage(Image image)
\r
566 NDalicPINVOKE.Button_SetButtonImage(swigCPtr, Image.getCPtr(image));
\r
567 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
570 internal void SetSelectedImage(Image image)
\r
572 NDalicPINVOKE.Button_SetSelectedImage(swigCPtr, Image.getCPtr(image));
\r
573 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
576 internal Actor GetButtonImage()
\r
578 Actor ret = new Actor(NDalicPINVOKE.Button_GetButtonImage(swigCPtr), true);
\r
579 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
583 internal Actor GetSelectedImage()
\r
585 Actor ret = new Actor(NDalicPINVOKE.Button_GetSelectedImage(swigCPtr), true);
\r
586 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
590 internal ButtonSignal PressedSignal()
\r
592 ButtonSignal ret = new ButtonSignal(NDalicPINVOKE.Button_PressedSignal(swigCPtr), false);
\r
593 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
597 internal ButtonSignal ReleasedSignal()
\r
599 ButtonSignal ret = new ButtonSignal(NDalicPINVOKE.Button_ReleasedSignal(swigCPtr), false);
\r
600 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
604 internal ButtonSignal ClickedSignal()
\r
606 ButtonSignal ret = new ButtonSignal(NDalicPINVOKE.Button_ClickedSignal(swigCPtr), false);
\r
607 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
611 internal ButtonSignal StateChangedSignal()
\r
613 ButtonSignal ret = new ButtonSignal(NDalicPINVOKE.Button_StateChangedSignal(swigCPtr), false);
\r
614 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
618 internal enum PropertyRange
\r
620 PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
\r
621 PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
\r
624 public bool Disabled
\r
629 GetProperty(Button.Property.DISABLED).Get(ref temp);
\r
634 SetProperty(Button.Property.DISABLED, new Tizen.NUI.PropertyValue(value));
\r
637 public bool AutoRepeating
\r
642 GetProperty(Button.Property.AUTO_REPEATING).Get(ref temp);
\r
647 SetProperty(Button.Property.AUTO_REPEATING, new Tizen.NUI.PropertyValue(value));
\r
650 public float InitialAutoRepeatingDelay
\r
655 GetProperty(Button.Property.INITIAL_AUTO_REPEATING_DELAY).Get(ref temp);
\r
660 SetProperty(Button.Property.INITIAL_AUTO_REPEATING_DELAY, new Tizen.NUI.PropertyValue(value));
\r
663 public float NextAutoRepeatingDelay
\r
668 GetProperty(Button.Property.NEXT_AUTO_REPEATING_DELAY).Get(ref temp);
\r
673 SetProperty(Button.Property.NEXT_AUTO_REPEATING_DELAY, new Tizen.NUI.PropertyValue(value));
\r
676 public bool Togglable
\r
681 GetProperty(Button.Property.TOGGLABLE).Get(ref temp);
\r
686 SetProperty(Button.Property.TOGGLABLE, new Tizen.NUI.PropertyValue(value));
\r
689 public bool Selected
\r
694 GetProperty(Button.Property.SELECTED).Get(ref temp);
\r
699 SetProperty(Button.Property.SELECTED, new Tizen.NUI.PropertyValue(value));
\r
702 public Tizen.NUI.PropertyMap UnselectedStateImage
\r
706 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
707 GetProperty(Button.Property.UNSELECTED_STATE_IMAGE).Get(temp);
\r
712 SetProperty(Button.Property.UNSELECTED_STATE_IMAGE, new Tizen.NUI.PropertyValue(value));
\r
715 public Tizen.NUI.PropertyMap SelectedStateImage
\r
719 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
720 GetProperty(Button.Property.SELECTED_STATE_IMAGE).Get(temp);
\r
725 SetProperty(Button.Property.SELECTED_STATE_IMAGE, new Tizen.NUI.PropertyValue(value));
\r
728 public Tizen.NUI.PropertyMap DisabledStateImage
\r
732 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
733 GetProperty(Button.Property.DISABLED_STATE_IMAGE).Get(temp);
\r
738 SetProperty(Button.Property.DISABLED_STATE_IMAGE, new Tizen.NUI.PropertyValue(value));
\r
741 public Color UnselectedColor
\r
745 Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
\r
746 GetProperty(Button.Property.UNSELECTED_COLOR).Get(temp);
\r
751 SetProperty(Button.Property.UNSELECTED_COLOR, new Tizen.NUI.PropertyValue(value));
\r
754 public Color SelectedColor
\r
758 Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
\r
759 GetProperty(Button.Property.SELECTED_COLOR).Get(temp);
\r
764 SetProperty(Button.Property.SELECTED_COLOR, new Tizen.NUI.PropertyValue(value));
\r
767 public Tizen.NUI.PropertyMap Label
\r
771 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
772 GetProperty(Button.Property.LABEL).Get(temp);
\r
777 SetProperty(Button.Property.LABEL, new Tizen.NUI.PropertyValue(value));
\r
780 public string LabelText
\r
785 GetProperty(Button.Property.LABEL_TEXT).Get(out temp);
\r
790 SetProperty(Button.Property.LABEL_TEXT, new Tizen.NUI.PropertyValue(value));
\r