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 _clickedEventHandler -= value;
\r
105 if (_clickedEventHandler == null && _clickedCallback != null)
\r
107 ClickedSignal().Disconnect(_clickedCallback);
\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 _pressedEventHandler -= value;
\r
146 if (_pressedEventHandler == null && _pressedCallback != null)
\r
148 this.PressedSignal().Disconnect(_pressedCallback);
\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
178 _releasedEventHandler += value;
\r
183 _releasedEventHandler -= value;
\r
185 if (_releasedEventHandler == null && _releasedCallback != null)
\r
187 ReleasedSignal().Disconnect(_releasedCallback);
\r
193 private bool OnReleased(IntPtr data)
\r
195 if (_releasedEventHandler != null)
\r
197 return _releasedEventHandler(this, null);
\r
203 private EventHandlerWithReturnType<object, EventArgs, bool> _stateChangedEventHandler;
\r
204 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
\r
205 private delegate bool StateChangedCallback(global::System.IntPtr data);
\r
206 private StateChangedCallback _stateChangedCallback;
\r
208 public event EventHandlerWithReturnType<object, EventArgs, bool> StateChanged
\r
212 if (_stateChangedEventHandler == null)
\r
214 _stateChangedCallback = OnStateChanged;
\r
215 StateChangedSignal().Connect(_stateChangedCallback);
\r
218 _stateChangedEventHandler += value;
\r
223 _stateChangedEventHandler -= value;
\r
225 if (_stateChangedEventHandler == null && _stateChangedCallback != null)
\r
227 StateChangedSignal().Disconnect(_stateChangedCallback);
\r
232 private bool OnStateChanged(IntPtr data)
\r
234 if (_stateChangedEventHandler != null)
\r
236 return _stateChangedEventHandler(this, null);
\r
243 public static Button GetButtonFromPtr(global::System.IntPtr cPtr)
\r
245 Button ret = new Button(cPtr, false);
\r
246 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
250 public Tizen.NUI.PropertyMap UnselectedVisual
\r
254 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
255 GetProperty(Button.Property.UNSELECTED_VISUAL).Get(temp);
\r
260 SetProperty(Button.Property.UNSELECTED_VISUAL, new Tizen.NUI.PropertyValue(value));
\r
264 public Tizen.NUI.PropertyMap SelectedVisual
\r
268 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
269 GetProperty(Button.Property.SELECTED_VISUAL).Get(temp);
\r
274 SetProperty(Button.Property.SELECTED_VISUAL, new Tizen.NUI.PropertyValue(value));
\r
278 public Tizen.NUI.PropertyMap DisabledSelectedVisual
\r
282 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
283 GetProperty(Button.Property.DISABLED_SELECTED_VISUAL).Get(temp);
\r
288 SetProperty(Button.Property.DISABLED_SELECTED_VISUAL, new Tizen.NUI.PropertyValue(value));
\r
292 public Tizen.NUI.PropertyMap DisabledUnselectedVisual
\r
296 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
297 GetProperty(Button.Property.DISABLED_UNSELECTED_VISUAL).Get(temp);
\r
302 SetProperty(Button.Property.DISABLED_UNSELECTED_VISUAL, new Tizen.NUI.PropertyValue(value));
\r
306 public Tizen.NUI.PropertyMap UnselectedBackgroundVisual
\r
310 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
311 GetProperty(Button.Property.UNSELECTED_BACKGROUND_VISUAL).Get(temp);
\r
316 SetProperty(Button.Property.UNSELECTED_BACKGROUND_VISUAL, new Tizen.NUI.PropertyValue(value));
\r
320 public Tizen.NUI.PropertyMap SelectedBackgroundVisual
\r
324 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
325 GetProperty(Button.Property.SELECTED_BACKGROUND_VISUAL).Get(temp);
\r
330 SetProperty(Button.Property.SELECTED_BACKGROUND_VISUAL, new Tizen.NUI.PropertyValue(value));
\r
334 public Tizen.NUI.PropertyMap DisabledUnselectedBackgroundVisual
\r
338 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
339 GetProperty(Button.Property.DISABLED_UNSELECTED_BACKGROUND_VISUAL).Get(temp);
\r
344 SetProperty(Button.Property.DISABLED_UNSELECTED_BACKGROUND_VISUAL, new Tizen.NUI.PropertyValue(value));
\r
348 public Tizen.NUI.PropertyMap DisabledSelectedBackgroundVisual
\r
352 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
353 GetProperty(Button.Property.DISABLED_SELECTED_BACKGROUND_VISUAL).Get(temp);
\r
358 SetProperty(Button.Property.DISABLED_SELECTED_BACKGROUND_VISUAL, new Tizen.NUI.PropertyValue(value));
\r
362 public string LabelRelativeAlignment
\r
367 GetProperty(Button.Property.LABEL_RELATIVE_ALIGNMENT).Get(out temp);
\r
372 SetProperty(Button.Property.LABEL_RELATIVE_ALIGNMENT, new Tizen.NUI.PropertyValue(value));
\r
376 public Vector4 LabelPadding
\r
380 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
\r
381 GetProperty(Button.Property.LABEL_PADDING).Get(temp);
\r
386 SetProperty(Button.Property.LABEL_PADDING, new Tizen.NUI.PropertyValue(value));
\r
390 public Vector4 VisualPadding
\r
394 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
\r
395 GetProperty(Button.Property.VISUAL_PADDING).Get(temp);
\r
400 SetProperty(Button.Property.VISUAL_PADDING, new Tizen.NUI.PropertyValue(value));
\r
404 internal class Property : global::System.IDisposable
\r
406 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
\r
407 protected bool swigCMemOwn;
\r
409 internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
\r
411 swigCMemOwn = cMemoryOwn;
\r
412 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
\r
415 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
\r
417 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
\r
425 public virtual void Dispose()
\r
429 if (swigCPtr.Handle != global::System.IntPtr.Zero)
\r
433 swigCMemOwn = false;
\r
434 NDalicPINVOKE.delete_Button_Property(swigCPtr);
\r
436 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
\r
438 global::System.GC.SuppressFinalize(this);
\r
442 internal static readonly int UNSELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_UNSELECTED_VISUAL_get();
\r
443 internal static readonly int SELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_SELECTED_VISUAL_get();
\r
444 internal static readonly int DISABLED_SELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_SELECTED_VISUAL_get();
\r
445 internal static readonly int DISABLED_UNSELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_UNSELECTED_VISUAL_get();
\r
446 internal static readonly int UNSELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_UNSELECTED_BACKGROUND_VISUAL_get();
\r
447 internal static readonly int SELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_SELECTED_BACKGROUND_VISUAL_get();
\r
448 internal static readonly int DISABLED_UNSELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_UNSELECTED_BACKGROUND_VISUAL_get();
\r
449 internal static readonly int DISABLED_SELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_SELECTED_BACKGROUND_VISUAL_get();
\r
450 internal static readonly int LABEL_RELATIVE_ALIGNMENT = NDalicManualPINVOKE.Button_Property_LABEL_RELATIVE_ALIGNMENT_get();
\r
451 internal static readonly int LABEL_PADDING = NDalicManualPINVOKE.Button_Property_LABEL_PADDING_get();
\r
452 internal static readonly int VISUAL_PADDING = NDalicManualPINVOKE.Button_Property_VISUAL_PADDING_get();
\r
454 internal Property() : this(NDalicPINVOKE.new_Button_Property(), true)
\r
456 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
459 internal static readonly int DISABLED = NDalicPINVOKE.Button_Property_DISABLED_get();
\r
460 internal static readonly int AUTO_REPEATING = NDalicPINVOKE.Button_Property_AUTO_REPEATING_get();
\r
461 internal static readonly int INITIAL_AUTO_REPEATING_DELAY = NDalicPINVOKE.Button_Property_INITIAL_AUTO_REPEATING_DELAY_get();
\r
462 internal static readonly int NEXT_AUTO_REPEATING_DELAY = NDalicPINVOKE.Button_Property_NEXT_AUTO_REPEATING_DELAY_get();
\r
463 internal static readonly int TOGGLABLE = NDalicPINVOKE.Button_Property_TOGGLABLE_get();
\r
464 internal static readonly int SELECTED = NDalicPINVOKE.Button_Property_SELECTED_get();
\r
465 internal static readonly int UNSELECTED_STATE_IMAGE = NDalicPINVOKE.Button_Property_UNSELECTED_STATE_IMAGE_get();
\r
466 internal static readonly int SELECTED_STATE_IMAGE = NDalicPINVOKE.Button_Property_SELECTED_STATE_IMAGE_get();
\r
467 internal static readonly int DISABLED_STATE_IMAGE = NDalicPINVOKE.Button_Property_DISABLED_STATE_IMAGE_get();
\r
468 internal static readonly int UNSELECTED_COLOR = NDalicPINVOKE.Button_Property_UNSELECTED_COLOR_get();
\r
469 internal static readonly int SELECTED_COLOR = NDalicPINVOKE.Button_Property_SELECTED_COLOR_get();
\r
470 internal static readonly int LABEL = NDalicPINVOKE.Button_Property_LABEL_get();
\r
471 internal static readonly int LABEL_TEXT = NDalicPINVOKE.Button_Property_LABEL_TEXT_get();
\r
475 public Button() : this(NDalicPINVOKE.new_Button__SWIG_0(), true)
\r
477 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
480 internal Button(Button button) : this(NDalicPINVOKE.new_Button__SWIG_1(Button.getCPtr(button)), true)
\r
482 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
485 internal Button Assign(Button button)
\r
487 Button ret = new Button(NDalicPINVOKE.Button_Assign(swigCPtr, Button.getCPtr(button)), false);
\r
488 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
492 public new static Button DownCast(BaseHandle handle)
\r
494 Button ret = new Button(NDalicPINVOKE.Button_DownCast(BaseHandle.getCPtr(handle)), true);
\r
495 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
499 internal bool IsDisabled()
\r
501 bool ret = NDalicPINVOKE.Button_IsDisabled(swigCPtr);
\r
502 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
506 internal bool IsAutoRepeating()
\r
508 bool ret = NDalicPINVOKE.Button_IsAutoRepeating(swigCPtr);
\r
509 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
513 internal float GetInitialAutoRepeatingDelay()
\r
515 float ret = NDalicPINVOKE.Button_GetInitialAutoRepeatingDelay(swigCPtr);
\r
516 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
520 internal float GetNextAutoRepeatingDelay()
\r
522 float ret = NDalicPINVOKE.Button_GetNextAutoRepeatingDelay(swigCPtr);
\r
523 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
527 internal bool IsTogglableButton()
\r
529 bool ret = NDalicPINVOKE.Button_IsTogglableButton(swigCPtr);
\r
530 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
534 internal bool IsSelected()
\r
536 bool ret = NDalicPINVOKE.Button_IsSelected(swigCPtr);
\r
537 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
541 public float GetAnimationTime()
\r
543 float ret = NDalicPINVOKE.Button_GetAnimationTime(swigCPtr);
\r
544 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
548 internal string GetLabelText()
\r
550 string ret = NDalicPINVOKE.Button_GetLabelText(swigCPtr);
\r
551 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
555 internal void SetLabel(Actor label)
\r
557 NDalicPINVOKE.Button_SetLabel(swigCPtr, Actor.getCPtr(label));
\r
558 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
561 internal void SetButtonImage(Image image)
\r
563 NDalicPINVOKE.Button_SetButtonImage(swigCPtr, Image.getCPtr(image));
\r
564 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
567 internal void SetSelectedImage(Image image)
\r
569 NDalicPINVOKE.Button_SetSelectedImage(swigCPtr, Image.getCPtr(image));
\r
570 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
573 internal Actor GetButtonImage()
\r
575 Actor ret = new Actor(NDalicPINVOKE.Button_GetButtonImage(swigCPtr), true);
\r
576 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
580 internal Actor GetSelectedImage()
\r
582 Actor ret = new Actor(NDalicPINVOKE.Button_GetSelectedImage(swigCPtr), true);
\r
583 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
587 internal ButtonSignal PressedSignal()
\r
589 ButtonSignal ret = new ButtonSignal(NDalicPINVOKE.Button_PressedSignal(swigCPtr), false);
\r
590 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
594 internal ButtonSignal ReleasedSignal()
\r
596 ButtonSignal ret = new ButtonSignal(NDalicPINVOKE.Button_ReleasedSignal(swigCPtr), false);
\r
597 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
601 internal ButtonSignal ClickedSignal()
\r
603 ButtonSignal ret = new ButtonSignal(NDalicPINVOKE.Button_ClickedSignal(swigCPtr), false);
\r
604 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
608 internal ButtonSignal StateChangedSignal()
\r
610 ButtonSignal ret = new ButtonSignal(NDalicPINVOKE.Button_StateChangedSignal(swigCPtr), false);
\r
611 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
615 internal enum PropertyRange
\r
617 PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
\r
618 PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
\r
621 public bool Disabled
\r
626 GetProperty(Button.Property.DISABLED).Get(ref temp);
\r
631 SetProperty(Button.Property.DISABLED, new Tizen.NUI.PropertyValue(value));
\r
634 public bool AutoRepeating
\r
639 GetProperty(Button.Property.AUTO_REPEATING).Get(ref temp);
\r
644 SetProperty(Button.Property.AUTO_REPEATING, new Tizen.NUI.PropertyValue(value));
\r
647 public float InitialAutoRepeatingDelay
\r
652 GetProperty(Button.Property.INITIAL_AUTO_REPEATING_DELAY).Get(ref temp);
\r
657 SetProperty(Button.Property.INITIAL_AUTO_REPEATING_DELAY, new Tizen.NUI.PropertyValue(value));
\r
660 public float NextAutoRepeatingDelay
\r
665 GetProperty(Button.Property.NEXT_AUTO_REPEATING_DELAY).Get(ref temp);
\r
670 SetProperty(Button.Property.NEXT_AUTO_REPEATING_DELAY, new Tizen.NUI.PropertyValue(value));
\r
673 public bool Togglable
\r
678 GetProperty(Button.Property.TOGGLABLE).Get(ref temp);
\r
683 SetProperty(Button.Property.TOGGLABLE, new Tizen.NUI.PropertyValue(value));
\r
686 public bool Selected
\r
691 GetProperty(Button.Property.SELECTED).Get(ref temp);
\r
696 SetProperty(Button.Property.SELECTED, new Tizen.NUI.PropertyValue(value));
\r
699 public Tizen.NUI.PropertyMap UnselectedStateImage
\r
703 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
704 GetProperty(Button.Property.UNSELECTED_STATE_IMAGE).Get(temp);
\r
709 SetProperty(Button.Property.UNSELECTED_STATE_IMAGE, new Tizen.NUI.PropertyValue(value));
\r
712 public Tizen.NUI.PropertyMap SelectedStateImage
\r
716 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
717 GetProperty(Button.Property.SELECTED_STATE_IMAGE).Get(temp);
\r
722 SetProperty(Button.Property.SELECTED_STATE_IMAGE, new Tizen.NUI.PropertyValue(value));
\r
725 public Tizen.NUI.PropertyMap DisabledStateImage
\r
729 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
730 GetProperty(Button.Property.DISABLED_STATE_IMAGE).Get(temp);
\r
735 SetProperty(Button.Property.DISABLED_STATE_IMAGE, new Tizen.NUI.PropertyValue(value));
\r
738 public Color UnselectedColor
\r
742 Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
\r
743 GetProperty(Button.Property.UNSELECTED_COLOR).Get(temp);
\r
748 SetProperty(Button.Property.UNSELECTED_COLOR, new Tizen.NUI.PropertyValue(value));
\r
751 public Color SelectedColor
\r
755 Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
\r
756 GetProperty(Button.Property.SELECTED_COLOR).Get(temp);
\r
761 SetProperty(Button.Property.SELECTED_COLOR, new Tizen.NUI.PropertyValue(value));
\r
764 public Tizen.NUI.PropertyMap Label
\r
768 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
769 GetProperty(Button.Property.LABEL).Get(temp);
\r
774 SetProperty(Button.Property.LABEL, new Tizen.NUI.PropertyValue(value));
\r
777 public string LabelText
\r
782 GetProperty(Button.Property.LABEL_TEXT).Get(out temp);
\r
787 SetProperty(Button.Property.LABEL_TEXT, new Tizen.NUI.PropertyValue(value));
\r