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
37 using System.Runtime.InteropServices;
\r
40 public class View : CustomActor
\r
42 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
\r
44 internal View(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.View_SWIGUpcast(cPtr), cMemoryOwn)
\r
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
\r
49 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(View obj)
\r
51 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
\r
59 public override void Dispose()
\r
63 if (swigCPtr.Handle != global::System.IntPtr.Zero)
\r
67 swigCMemOwn = false;
\r
68 NDalicPINVOKE.delete_View(swigCPtr);
\r
70 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
\r
72 global::System.GC.SuppressFinalize(this);
\r
78 private EventHandler _keyInputFocusGainedEventHandler;
\r
79 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
\r
80 private delegate void KeyInputFocusGainedCallbackType(IntPtr control);
\r
81 private KeyInputFocusGainedCallbackType _keyInputFocusGainedCallback;
\r
84 * @brief Event for KeyInputFocusGained signal which can be used to subscribe/unsubscribe the event handler
\r
85 * provided by the user. KeyInputFocusGained signal is emitted when the control gets Key Input Focus.
\r
87 public event EventHandler FocusGained
\r
91 if (_keyInputFocusGainedEventHandler == null)
\r
93 _keyInputFocusGainedCallback = OnKeyInputFocusGained;
\r
94 this.KeyInputFocusGainedSignal().Connect(_keyInputFocusGainedCallback);
\r
97 _keyInputFocusGainedEventHandler += value;
\r
102 if (_keyInputFocusGainedEventHandler != null)
\r
104 this.KeyInputFocusGainedSignal().Disconnect(_keyInputFocusGainedCallback);
\r
107 _keyInputFocusGainedEventHandler -= value;
\r
111 private void OnKeyInputFocusGained(IntPtr view)
\r
113 if (_keyInputFocusGainedEventHandler != null)
\r
115 _keyInputFocusGainedEventHandler(this, null);
\r
120 private EventHandler _keyInputFocusLostEventHandler;
\r
121 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
\r
122 private delegate void KeyInputFocusLostCallbackType(IntPtr control);
\r
123 private KeyInputFocusLostCallbackType _keyInputFocusLostCallback;
\r
126 * @brief Event for KeyInputFocusLost signal which can be used to subscribe/unsubscribe the event handler
\r
127 * provided by the user. KeyInputFocusLost signal is emitted when the control loses Key Input Focus.
\r
129 public event EventHandler FocusLost
\r
133 if (_keyInputFocusLostEventHandler == null)
\r
135 _keyInputFocusLostCallback = OnKeyInputFocusLost;
\r
136 this.KeyInputFocusLostSignal().Connect(_keyInputFocusLostCallback);
\r
139 _keyInputFocusLostEventHandler += value;
\r
144 if (_keyInputFocusLostEventHandler != null)
\r
146 this.KeyInputFocusLostSignal().Disconnect(_keyInputFocusLostCallback);
\r
149 _keyInputFocusLostEventHandler -= value;
\r
153 private void OnKeyInputFocusLost(IntPtr view)
\r
155 if (_keyInputFocusLostEventHandler != null)
\r
157 _keyInputFocusLostEventHandler(this, null);
\r
163 * @brief Event arguments that passed via KeyEvent signal
\r
166 public class KeyEventArgs : EventArgs
\r
171 * @brief KeyEvent - is the keyevent sent to the View.
\r
187 private EventHandlerWithReturnType<object, KeyEventArgs, bool> _keyEventHandler;
\r
188 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
\r
189 private delegate bool KeyCallbackType(IntPtr control, IntPtr keyEvent);
\r
190 private KeyCallbackType _keyCallback;
\r
193 * @brief Event for KeyPressed signal which can be used to subscribe/unsubscribe the event handler
\r
194 * provided by the user. KeyPressed signal is emitted when key event is received.
\r
196 public event EventHandlerWithReturnType<object, KeyEventArgs, bool> KeyEvent
\r
200 if (_keyEventHandler == null)
\r
202 _keyCallback = OnKeyEvent;
\r
203 this.KeyEventSignal().Connect(_keyCallback);
\r
206 _keyEventHandler += value;
\r
211 if (_keyEventHandler != null)
\r
213 this.KeyEventSignal().Disconnect(_keyCallback);
\r
216 _keyEventHandler -= value;
\r
220 private bool OnKeyEvent(IntPtr view, IntPtr keyEvent)
\r
222 KeyEventArgs e = new KeyEventArgs();
\r
224 e.Key = Tizen.NUI.Key.GetKeyFromPtr(keyEvent);
\r
226 if (_keyEventHandler != null)
\r
228 return _keyEventHandler(this, e);
\r
234 private EventHandler _onRelayoutEventHandler;
\r
235 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
\r
236 private delegate void OnRelayoutEventCallbackType(IntPtr control);
\r
237 private OnRelayoutEventCallbackType _onRelayoutEventCallback;
\r
240 * @brief Event for OnRelayout signal which can be used to subscribe/unsubscribe the event handler
\r
241 * OnRelayout signal is emitted after the size has been set on the view during relayout.
\r
243 public event EventHandler OnRelayoutEvent
\r
247 if (_onRelayoutEventHandler == null)
\r
249 _onRelayoutEventCallback = OnRelayout;
\r
250 this.OnRelayoutSignal().Connect(_onRelayoutEventCallback);
\r
253 _onRelayoutEventHandler += value;
\r
258 if (_onRelayoutEventHandler != null)
\r
260 this.OnRelayoutSignal().Disconnect(_onRelayoutEventCallback);
\r
263 _onRelayoutEventHandler -= value;
\r
267 // Callback for View OnRelayout signal
\r
268 private void OnRelayout(IntPtr data)
\r
270 if (_onRelayoutEventHandler != null)
\r
272 _onRelayoutEventHandler(this, null);
\r
278 * @brief Event arguments that passed via Touch signal
\r
281 public class TouchEventArgs : EventArgs
\r
283 private Touch _touch;
\r
286 * @brief TouchData - contains the information of touch points
\r
302 private EventHandlerWithReturnType<object, TouchEventArgs, bool> _touchDataEventHandler;
\r
303 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
\r
304 private delegate bool TouchDataCallbackType(IntPtr view, IntPtr touchData);
\r
305 private TouchDataCallbackType _touchDataCallback;
\r
308 * @brief Event for Touched signal which can be used to subscribe/unsubscribe the event handler
\r
309 * provided by the user. Touched signal is emitted when touch input is received.
\r
311 public event EventHandlerWithReturnType<object, TouchEventArgs, bool> Touched
\r
315 if (_touchDataEventHandler == null)
\r
317 _touchDataCallback = OnTouch;
\r
318 this.TouchSignal().Connect(_touchDataCallback);
\r
321 _touchDataEventHandler += value;
\r
326 if (_touchDataEventHandler != null)
\r
328 this.TouchSignal().Disconnect(_touchDataCallback);
\r
331 _touchDataEventHandler -= value;
\r
335 // Callback for View TouchSignal
\r
336 private bool OnTouch(IntPtr view, IntPtr touchData)
\r
338 TouchEventArgs e = new TouchEventArgs();
\r
340 e.Touch = Tizen.NUI.Touch.GetTouchFromPtr(touchData);
\r
342 if (_touchDataEventHandler != null)
\r
344 return _touchDataEventHandler(this, e);
\r
351 * @brief Event arguments that passed via Hover signal
\r
354 public class HoverEventArgs : EventArgs
\r
356 private Hover _hover;
\r
358 * @brief HoverEvent - contains touch points that represent the points
\r
359 * that are currently being hovered or the points where a hover has stopped
\r
375 private EventHandlerWithReturnType<object, HoverEventArgs, bool> _hoverEventHandler;
\r
376 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
\r
377 private delegate bool HoverEventCallbackType(IntPtr view, IntPtr hoverEvent);
\r
378 private HoverEventCallbackType _hoverEventCallback;
\r
381 * @brief Event for Hovered signal which can be used to subscribe/unsubscribe the event handler
\r
382 * provided by the user. Hovered signal is emitted when hover input is received.
\r
384 public event EventHandlerWithReturnType<object, HoverEventArgs, bool> Hovered
\r
388 if (_hoverEventHandler == null)
\r
390 _hoverEventCallback = OnHoverEvent;
\r
391 this.HoveredSignal().Connect(_hoverEventCallback);
\r
394 _hoverEventHandler += value;
\r
399 if (_hoverEventHandler != null)
\r
401 this.HoveredSignal().Disconnect(_hoverEventCallback);
\r
404 _hoverEventHandler -= value;
\r
408 // Callback for View Hover signal
\r
409 private bool OnHoverEvent(IntPtr view, IntPtr hoverEvent)
\r
411 HoverEventArgs e = new HoverEventArgs();
\r
413 e.Hover = Tizen.NUI.Hover.GetHoverFromPtr(hoverEvent);
\r
415 if (_hoverEventHandler != null)
\r
417 return _hoverEventHandler(this, e);
\r
424 * @brief Event arguments that passed via Wheel signal
\r
427 public class WheelEventArgs : EventArgs
\r
429 private Wheel _wheel;
\r
431 * @brief WheelEvent - store a wheel rolling type : MOUSE_WHEEL or CUSTOM_WHEEL
\r
447 private EventHandlerWithReturnType<object, WheelEventArgs, bool> _wheelEventHandler;
\r
448 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
\r
449 private delegate bool WheelEventCallbackType(IntPtr view, IntPtr wheelEvent);
\r
450 private WheelEventCallbackType _wheelEventCallback;
\r
453 * @brief Event for WheelMoved signal which can be used to subscribe/unsubscribe the event handler
\r
454 * provided by the user. WheelMoved signal is emitted when wheel event is received.
\r
456 public event EventHandlerWithReturnType<object, WheelEventArgs, bool> WheelMoved
\r
460 if (_wheelEventHandler == null)
\r
462 _wheelEventCallback = OnWheelEvent;
\r
463 this.WheelEventSignal().Connect(_wheelEventCallback);
\r
466 _wheelEventHandler += value;
\r
471 if (_wheelEventHandler != null)
\r
473 this.WheelEventSignal().Disconnect(_wheelEventCallback);
\r
476 _wheelEventHandler -= value;
\r
480 // Callback for View Wheel signal
\r
481 private bool OnWheelEvent(IntPtr view, IntPtr wheelEvent)
\r
483 WheelEventArgs e = new WheelEventArgs();
\r
485 e.Wheel = Tizen.NUI.Wheel.GetWheelFromPtr(wheelEvent);
\r
487 if (_wheelEventHandler != null)
\r
489 return _wheelEventHandler(this, e);
\r
495 private EventHandler _onStageEventHandler;
\r
496 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
\r
497 private delegate void OnStageEventCallbackType(IntPtr control);
\r
498 private OnStageEventCallbackType _onStageEventCallback;
\r
501 * @brief Event for OnStage signal which can be used to subscribe/unsubscribe the event handler
\r
502 * OnStage signal is emitted after the view has been connected to the stage.
\r
504 public event EventHandler OnStageEvent
\r
508 if (_onStageEventHandler == null)
\r
510 _onStageEventCallback = OnStage;
\r
511 this.OnStageSignal().Connect(_onStageEventCallback);
\r
514 _onStageEventHandler += value;
\r
519 if (_onStageEventHandler != null)
\r
521 this.OnStageSignal().Disconnect(_onStageEventCallback);
\r
524 _onStageEventHandler -= value;
\r
528 // Callback for View OnStage signal
\r
529 private void OnStage(IntPtr data)
\r
531 if (_onStageEventHandler != null)
\r
533 _onStageEventHandler(this, null);
\r
538 private EventHandler _offStageEventHandler;
\r
539 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
\r
540 private delegate void OffStageEventCallbackType(IntPtr control);
\r
541 private OffStageEventCallbackType _offStageEventCallback;
\r
544 * @brief Event for OffStage signal which can be used to subscribe/unsubscribe the event handler
\r
545 * OffStage signal is emitted after the view has been disconnected from the stage.
\r
547 public event EventHandler OffStageEvent
\r
551 if (_offStageEventHandler == null)
\r
553 _offStageEventCallback = OffStage;
\r
554 this.OnStageSignal().Connect(_offStageEventCallback);
\r
557 _offStageEventHandler += value;
\r
562 if (_offStageEventHandler != null)
\r
564 this.OnStageSignal().Disconnect(_offStageEventCallback);
\r
566 _offStageEventHandler -= value;
\r
570 // Callback for View OffStage signal
\r
571 private void OffStage(IntPtr data)
\r
573 if (_offStageEventHandler != null)
\r
575 _offStageEventHandler(this, null);
\r
579 public static View GetViewFromPtr(global::System.IntPtr cPtr)
\r
581 View ret = new View(cPtr, false);
\r
582 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
586 internal IntPtr GetPtrfromView()
\r
588 return (IntPtr)swigCPtr;
\r
591 public Tizen.NUI.PropertyMap Tooltip
\r
595 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
596 GetProperty(View.Property.TOOLTIP).Get(temp);
\r
601 SetProperty(View.Property.TOOLTIP, new Tizen.NUI.PropertyValue(value));
\r
605 public string TooltipText
\r
609 SetProperty(View.Property.TOOLTIP, new Tizen.NUI.PropertyValue(value));
\r
613 internal class Property : global::System.IDisposable
\r
615 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
\r
616 protected bool swigCMemOwn;
\r
618 internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
\r
620 swigCMemOwn = cMemoryOwn;
\r
621 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
\r
624 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
\r
626 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
\r
634 public virtual void Dispose()
\r
638 if (swigCPtr.Handle != global::System.IntPtr.Zero)
\r
642 swigCMemOwn = false;
\r
643 NDalicPINVOKE.delete_View_Property(swigCPtr);
\r
645 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
\r
647 global::System.GC.SuppressFinalize(this);
\r
651 internal static readonly int TOOLTIP = NDalicManualPINVOKE.View_Property_TOOLTIP_get();
\r
653 internal Property() : this(NDalicPINVOKE.new_View_Property(), true)
\r
655 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
658 internal static readonly int STYLE_NAME = NDalicPINVOKE.View_Property_STYLE_NAME_get();
\r
659 internal static readonly int BACKGROUND_COLOR = NDalicPINVOKE.View_Property_BACKGROUND_COLOR_get();
\r
660 internal static readonly int BACKGROUND_IMAGE = NDalicPINVOKE.View_Property_BACKGROUND_IMAGE_get();
\r
661 internal static readonly int KEY_INPUT_FOCUS = NDalicPINVOKE.View_Property_KEY_INPUT_FOCUS_get();
\r
662 internal static readonly int BACKGROUND = NDalicPINVOKE.View_Property_BACKGROUND_get();
\r
667 public enum FocusDirection
\r
678 public View() : this(NDalicPINVOKE.View_New(), true)
\r
680 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
683 internal View(View uiControl) : this(NDalicPINVOKE.new_View__SWIG_1(View.getCPtr(uiControl)), true)
\r
685 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
688 internal View Assign(View handle)
\r
690 View ret = new View(NDalicPINVOKE.View_Assign(swigCPtr, View.getCPtr(handle)), false);
\r
691 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
695 public new static View DownCast(BaseHandle handle)
\r
697 View ret = new View(NDalicPINVOKE.View_DownCast(BaseHandle.getCPtr(handle)), true);
\r
698 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
702 public void SetKeyInputFocus()
\r
704 NDalicPINVOKE.View_SetKeyInputFocus(swigCPtr);
\r
705 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
708 public bool HasKeyInputFocus()
\r
710 bool ret = NDalicPINVOKE.View_HasKeyInputFocus(swigCPtr);
\r
711 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
715 public void ClearKeyInputFocus()
\r
717 NDalicPINVOKE.View_ClearKeyInputFocus(swigCPtr);
\r
718 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
721 internal PinchGestureDetector GetPinchGestureDetector()
\r
723 PinchGestureDetector ret = new PinchGestureDetector(NDalicPINVOKE.View_GetPinchGestureDetector(swigCPtr), true);
\r
724 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
728 internal PanGestureDetector GetPanGestureDetector()
\r
730 PanGestureDetector ret = new PanGestureDetector(NDalicPINVOKE.View_GetPanGestureDetector(swigCPtr), true);
\r
731 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
735 internal TapGestureDetector GetTapGestureDetector()
\r
737 TapGestureDetector ret = new TapGestureDetector(NDalicPINVOKE.View_GetTapGestureDetector(swigCPtr), true);
\r
738 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
742 internal LongPressGestureDetector GetLongPressGestureDetector()
\r
744 LongPressGestureDetector ret = new LongPressGestureDetector(NDalicPINVOKE.View_GetLongPressGestureDetector(swigCPtr), true);
\r
745 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
749 internal void SetStyleName(string styleName)
\r
751 NDalicPINVOKE.View_SetStyleName(swigCPtr, styleName);
\r
752 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
755 internal string GetStyleName()
\r
757 string ret = NDalicPINVOKE.View_GetStyleName(swigCPtr);
\r
758 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
762 internal void SetBackgroundColor(Vector4 color)
\r
764 NDalicPINVOKE.View_SetBackgroundColor(swigCPtr, Vector4.getCPtr(color));
\r
765 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
768 internal Vector4 GetBackgroundColor()
\r
770 Vector4 ret = new Vector4(NDalicPINVOKE.View_GetBackgroundColor(swigCPtr), true);
\r
771 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
775 internal void SetBackgroundImage(Image image)
\r
777 NDalicPINVOKE.View_SetBackgroundImage(swigCPtr, Image.getCPtr(image));
\r
778 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
781 public void ClearBackground()
\r
783 NDalicPINVOKE.View_ClearBackground(swigCPtr);
\r
784 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
787 internal ControlKeySignal KeyEventSignal()
\r
789 ControlKeySignal ret = new ControlKeySignal(NDalicPINVOKE.View_KeyEventSignal(swigCPtr), false);
\r
790 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
794 internal KeyInputFocusSignal KeyInputFocusGainedSignal()
\r
796 KeyInputFocusSignal ret = new KeyInputFocusSignal(NDalicPINVOKE.View_KeyInputFocusGainedSignal(swigCPtr), false);
\r
797 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
801 internal KeyInputFocusSignal KeyInputFocusLostSignal()
\r
803 KeyInputFocusSignal ret = new KeyInputFocusSignal(NDalicPINVOKE.View_KeyInputFocusLostSignal(swigCPtr), false);
\r
804 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
808 internal View(ViewImpl implementation) : this(NDalicPINVOKE.new_View__SWIG_2(ViewImpl.getCPtr(implementation)), true)
\r
810 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
813 internal enum PropertyRange
\r
815 PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
\r
816 CONTROL_PROPERTY_START_INDEX = PROPERTY_START_INDEX,
\r
817 CONTROL_PROPERTY_END_INDEX = CONTROL_PROPERTY_START_INDEX + 1000
\r
820 public string StyleName
\r
825 GetProperty(View.Property.STYLE_NAME).Get(out temp);
\r
830 SetProperty(View.Property.STYLE_NAME, new Tizen.NUI.PropertyValue(value));
\r
834 public Color BackgroundColor
\r
838 Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
\r
839 GetProperty(View.Property.BACKGROUND_COLOR).Get(temp);
\r
844 SetProperty(View.Property.BACKGROUND_COLOR, new Tizen.NUI.PropertyValue(value));
\r
848 public string BackgroundImage
\r
853 GetProperty(View.Property.BACKGROUND).Get(out temp);
\r
858 SetProperty(View.Property.BACKGROUND, new Tizen.NUI.PropertyValue(value));
\r
861 internal bool KeyInputFocus
\r
866 GetProperty(View.Property.KEY_INPUT_FOCUS).Get(ref temp);
\r
871 SetProperty(View.Property.KEY_INPUT_FOCUS, new Tizen.NUI.PropertyValue(value));
\r
874 public Tizen.NUI.PropertyMap Background
\r
878 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
\r
879 GetProperty(View.Property.BACKGROUND).Get(temp);
\r
884 SetProperty(View.Property.BACKGROUND, new Tizen.NUI.PropertyValue(value));
\r
888 public Vector2 CellIndex
\r
892 Vector2 temp = new Vector2(0.0f, 0.0f);
\r
893 GetProperty(TableView.ChildProperty.CELL_INDEX).Get(temp);
\r
898 SetProperty(TableView.ChildProperty.CELL_INDEX, new Tizen.NUI.PropertyValue(value));
\r
901 public float RowSpan
\r
906 GetProperty(TableView.ChildProperty.ROW_SPAN).Get(ref temp);
\r
911 SetProperty(TableView.ChildProperty.ROW_SPAN, new Tizen.NUI.PropertyValue(value));
\r
914 public float ColumnSpan
\r
919 GetProperty(TableView.ChildProperty.COLUMN_SPAN).Get(ref temp);
\r
924 SetProperty(TableView.ChildProperty.COLUMN_SPAN, new Tizen.NUI.PropertyValue(value));
\r
927 public string CellHorizontalAlignment
\r
932 GetProperty(TableView.ChildProperty.CELL_HORIZONTAL_ALIGNMENT).Get(out temp);
\r
937 SetProperty(TableView.ChildProperty.CELL_HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));
\r
940 public string CellVerticalAlignment
\r
945 GetProperty(TableView.ChildProperty.CELL_VERTICAL_ALIGNMENT).Get(out temp);
\r
950 SetProperty(TableView.ChildProperty.CELL_VERTICAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));
\r
959 GetProperty(FlexContainer.ChildProperty.FLEX).Get(ref temp);
\r
964 SetProperty(FlexContainer.ChildProperty.FLEX, new Tizen.NUI.PropertyValue(value));
\r
967 public int AlignSelf
\r
972 GetProperty(FlexContainer.ChildProperty.ALIGN_SELF).Get(ref temp);
\r
977 SetProperty(FlexContainer.ChildProperty.ALIGN_SELF, new Tizen.NUI.PropertyValue(value));
\r
980 public Vector4 FlexMargin
\r
984 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
\r
985 GetProperty(FlexContainer.ChildProperty.FLEX_MARGIN).Get(temp);
\r
990 SetProperty(FlexContainer.ChildProperty.FLEX_MARGIN, new Tizen.NUI.PropertyValue(value));
\r
994 public bool Focusable
\r
998 SetKeyboardFocusable(value);
\r
1002 return IsKeyboardFocusable();
\r