/// common architectures.<br />
/// </summary>
/// <since_tizen> 3 </since_tizen>
- [Obsolete("Please do not use! This will be deprecated!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public class Uint16Pair : global::System.IDisposable
+ internal class Uint16Pair : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
/// <summary>swigCMemOwn.</summary>
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- /// <summary>
- /// Downcasts a handle to TabelView handle.
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use as keyword.
- [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public new static TableView DownCast(BaseHandle handle)
- {
- TableView ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as TableView;
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
/// <summary>
/// Adds a child to the table.<br />
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- /// <summary>
- /// Downcasts a handle to textEditor handle.
- /// </summary>
- /// <param name="handle"></param>
- /// <returns></returns>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use as keyword.
- [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public new static TextEditor DownCast(BaseHandle handle)
- {
- TextEditor ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as TextEditor;
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
internal TextEditorSignal TextChangedSignal()
{
TextEditorSignal ret = new TextEditorSignal(NDalicPINVOKE.TextEditor_TextChangedSignal(swigCPtr), false);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- /// <summary>
- /// Downcasts a handle to textField handle.
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use as keyword.
- [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public new static TextField DownCast(BaseHandle handle)
- {
- TextField ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as TextField;
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
internal TextFieldSignal TextChangedSignal()
{
TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_TextChangedSignal(swigCPtr), false);
[EditorBrowsable(EditorBrowsableState.Never)]
public new static TextLabel DownCast(BaseHandle handle)
{
- TextLabel ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as TextLabel;
+ TextLabel ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as TextLabel;
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
+
/// <summary>
/// The TranslatableText property.<br />
/// The text can set the SID value.<br />
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- /// <summary>
- /// Downcasts a handle to videoView handle.
- /// </summary>
- /// <param name="handle"></param>
- /// <returns></returns>
- /// Please do not use! this will be deprecated!
- /// Instead please use as keyword.
- /// <since_tizen> 3 </since_tizen>
- [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public new static VideoView DownCast(BaseHandle handle)
- {
- VideoView ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as VideoView;
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
/// <summary>
/// Starts the video playback.
/// </summary>
}
}
- /// <summary>
- /// [Obsolete("Please do not use! this will be deprecated. Please use Visibility instead.")]
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- [Obsolete("Please do not use! This will be deprecated! Please use Visibility instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool Visible
- {
- get
- {
- return IsVisible();
- }
- }
-
/// <summary>
/// Retrieves and sets the view's opacity.<br />
/// </summary>
}
}
-
-
- /// <summary>
- /// [Obsolete("Please do not use! this will be deprecated")]
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use TouchEvent.
- [Obsolete("Please do not use! This will be deprecated! Please use TouchEvent instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public event EventHandlerWithReturnType<object, TouchEventArgs, bool> Touched
- {
- add
- {
- if (_touchDataEventHandler == null)
- {
- _touchDataCallback = OnTouch;
- this.TouchSignal().Connect(_touchDataCallback);
- }
-
- _touchDataEventHandler += value;
- }
-
- remove
- {
- _touchDataEventHandler -= value;
-
- if (_touchDataEventHandler == null && TouchSignal().Empty() == false)
- {
- this.TouchSignal().Disconnect(_touchDataCallback);
- }
-
- }
- }
-
- /// <summary>
- /// [Obsolete("Please do not use! this will be deprecated")]
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use HoverEvent.
- [Obsolete("Please do not use! This will be deprecated! Please use HoverEvent instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public event EventHandlerWithReturnType<object, HoverEventArgs, bool> Hovered
- {
- add
- {
- if (_hoverEventHandler == null)
- {
- _hoverEventCallback = OnHoverEvent;
- this.HoveredSignal().Connect(_hoverEventCallback);
- }
-
- _hoverEventHandler += value;
- }
-
- remove
- {
- _hoverEventHandler -= value;
-
- if (_hoverEventHandler == null && HoveredSignal().Empty() == false)
- {
- this.HoveredSignal().Disconnect(_hoverEventCallback);
- }
-
- }
- }
-
- /// <summary>
- /// Please do not use! this will be deprecated.
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use WheelEvent.
- [Obsolete("Please do not use! This will be deprecated! Please use WheelEvent instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public event EventHandlerWithReturnType<object, WheelEventArgs, bool> WheelMoved
- {
- add
- {
- if (_wheelEventHandler == null)
- {
- _wheelEventCallback = OnWheelEvent;
- this.WheelEventSignal().Connect(_wheelEventCallback);
- }
-
- _wheelEventHandler += value;
- }
-
- remove
- {
- _wheelEventHandler -= value;
-
- if (_wheelEventHandler == null && WheelEventSignal().Empty() == false)
- {
- this.WheelEventSignal().Disconnect(_wheelEventCallback);
- }
-
- }
- }
-
/// <summary>
/// [Obsolete("Please do not use! this will be deprecated")]
/// </summary>
}
- /// <summary>
- /// Downcasts a handle to keyFrame handle.
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use as keyword.
- [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public static KeyFrames DownCast(BaseHandle handle)
- {
- KeyFrames ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as KeyFrames;
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
/// <summary>
/// Gets the type of the key frame.
/// </summary>
if (NDalicPINVOKE.SWIGPendingException.Pending)
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+
internal void SetParentOrigin(Vector3 origin)
{
NDalicPINVOKE.Actor_SetParentOrigin(swigCPtr, Vector3.getCPtr(origin));
return base.GetHashCode();
}
- /// <summary>
- /// The Left value.
- /// </summary>
- /// Please DO NOT use! This will be deprecated!
- /// instead please use Start property.
- /// <since_tizen> 3 </since_tizen>
- [Obsolete("Please do not use! This will be Deprecated! Please use PaddingType.Start instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public float Left
- {
- set
- {
- left = value;
- }
- get
- {
- return left;
- }
- }
-
/// <summary>
/// The Start value.
/// </summary>
}
}
- /// <summary>
- /// The Right value.
- /// </summary>
- /// Please DO NOT use! This will be deprecated!
- /// instead please use Start property.
- /// <since_tizen> 3 </since_tizen>
- [Obsolete("Please do not use! This will be deprecated! Please use PaddingType.End instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public float Right
- {
- set
- {
- right = value;
- }
- get
- {
- return right;
- }
- }
-
/// <summary>
/// The End value.
/// </summary>
}
- /// <summary>
- /// Downcasts a handle to Path handle.
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use as keyword.
- [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public static Path DownCast(BaseHandle handle)
- {
- Path ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as Path;
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
/// <summary>
/// Adds an interpolation point.
/// </summary>
return new Position(vec.X, vec.Y, vec.Z);
}
- /// <summary>
- /// [Obsolete("Please do not use! this will be deprecated")]
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use PivotPointTop.
- [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.Top instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public static float AnchorPointTop
- {
- get
- {
- float ret = NDalicPINVOKE.AnchorPointTop_get();
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- /// <summary>
- /// [Obsolete("Please do not use! this will be deprecated")]
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use PivotPointBottom.
- [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.Bottom instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public static float AnchorPointBottom
- {
- get
- {
- float ret = NDalicPINVOKE.AnchorPointBottom_get();
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- /// <summary>
- /// [Obsolete("Please do not use! this will be deprecated")]
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use PivotPointLeft.
- [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.Left instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public static float AnchorPointLeft
- {
- get
- {
- float ret = NDalicPINVOKE.AnchorPointLeft_get();
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- /// <summary>
- /// [Obsolete("Please do not use! this will be deprecated")]
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use PivotPointRight.
- [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.Right instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public static float AnchorPointRight
- {
- get
- {
- float ret = NDalicPINVOKE.AnchorPointRight_get();
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- /// <summary>
- /// [Obsolete("Please do not use! this will be deprecated")]
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use PivotPointMiddle.
- [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.Middle instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public static float AnchorPointMiddle
- {
- get
- {
- float ret = NDalicPINVOKE.AnchorPointMiddle_get();
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- /// <summary>
- /// [Obsolete("Please do not use! this will be deprecated")]
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use PivotPointTopLeft.
- [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.TopLeft instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public static Position AnchorPointTopLeft
- {
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- /// <summary>
- /// [Obsolete("Please do not use! this will be deprecated")]
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use PivotPointTopCenter.
- [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.TopCenter instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public static Position AnchorPointTopCenter
- {
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
/// <summary>
/// [Obsolete("Please do not use! this will be deprecated")]
/// </summary>
}
}
- /// <summary>
- /// [Obsolete("Please do not use! this will be deprecated")]
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use PivotPointCenter.
- [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.Center instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public static Position AnchorPointCenter
- {
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- /// <summary>
- /// [Obsolete("Please do not use! this will be deprecated")]
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use PivotPointCenterRight.
- [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.CenterRight instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public static Position AnchorPointCenterRight
- {
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- /// <summary>
- /// [Obsolete("Please do not use! this will be deprecated")]
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use PivotPointBottomLeft.
- [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.BottomLeft instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public static Position AnchorPointBottomLeft
- {
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- /// <summary>
- /// [Obsolete("Please do not use! this will be deprecated")]
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use PivotPointBottomCenter.
- [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint.BottomCenter instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public static Position AnchorPointBottomCenter
- {
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
/// <summary>
/// [Obsolete("Please do not use! this will be deprecated")]
/// </summary>
return new Position2D((int)vec.X, (int)vec.Y);
}
- /// <summary>
- /// Converts a Position2D instance to a Uint16Pair instance.
- /// </summary>
- /// <param name="position2d">An object of the Position2D type.</param>
- /// <returns>return an object of the Uint16Pair type</returns>
- /// <since_tizen> 4 </since_tizen>
- public static implicit operator Uint16Pair(Position2D position2d)
- {
- return new Uint16Pair((uint)position2d.X, (uint)position2d.Y);
- }
-
- /// <summary>
- /// Converts a Uint16Pair instance to a Position2D instance.
- /// </summary>
- /// <param name="pair">An object of the Uint16Pair type.</param>
- /// <returns>return an object of the Position2D type</returns>
- /// <since_tizen> 4 </since_tizen>
- public static implicit operator Position2D(Uint16Pair pair)
- {
- return new Position2D((int)pair.GetX(), (int)pair.GetY());
- }
-
}
}
return ret;
}
- /// <summary>
- /// Please do not use! this will be deprecated.
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- [Obsolete("Please do not use! This will be deprecated!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public string GetKey(uint position)
- {
- string ret = NDalicPINVOKE.Property_Map_GetKey(swigCPtr, position);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
/// <summary>
/// Retrieves the key at the specified position.
/// </summary>
return ret;
}
- /// <summary>
- /// Please do not use! this will be deprecated
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- [Obsolete("Please do not use! This will be deprecated!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public PropertyValue Find(string key)
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_0(swigCPtr, key);
- PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
/// <summary>
/// Finds the value for the specified key if it exists.
/// </summary>
return ret;
}
- /// <summary>
- /// Please do not use! this will be deprecated.
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- [Obsolete("Please do not use! This will be deprecated!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public PropertyValue Find(string key, PropertyType type)
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_4(swigCPtr, key, (int)type);
- PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- /// <summary>
- /// Please do not use! this will be deprecated
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- [Obsolete("Please do not use! This will be deprecated!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public PropertyValue Find(int key, PropertyType type)
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_5(swigCPtr, key, (int)type);
- PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
/// <summary>
/// Clears the map.
/// </summary>
{
return new Size2D((int)vector2.X, (int)vector2.Y);
}
-
- /// <summary>
- /// The type cast operator, Size2D to Uint16Pair.
- /// </summary>
- /// <param name="size2d">An object of the Size2D type.</param>
- /// <returns>return a Uint16Pair instance</returns>
- /// <since_tizen> 4 </since_tizen>
- public static implicit operator Uint16Pair(Size2D size2d)
- {
- return new Uint16Pair((uint)size2d.Width, (uint)size2d.Height);
- }
-
- /// <summary>
- /// The type cast operator, Uint16Pair to Size2D type.
- /// </summary>
- /// <param name="pair">An object of the Vector2 type.</param>
- /// <returns>return a Size2D instance</returns>
- /// <since_tizen> 4 </since_tizen>
- public static implicit operator Size2D(Uint16Pair pair)
- {
- return new Size2D((int)pair.GetWidth(), (int)pair.GetWidth());
- }
-
-
}
}
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- /// <summary>
- /// Downcasts a handle to Timer handle.
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use as keyword.
- [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public static Timer DownCast(BaseHandle handle)
- {
- Timer ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as Timer;
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
/// <summary>
/// Starts the timer.<br />
/// In case a timer is already running, its time is reset and the timer is restarted.<br />
}
- /// <summary>
- /// Downcasts a handle to popup handle.
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use as keyword.
- [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public new static Popup DownCast(BaseHandle handle)
- {
- Popup ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as Popup;
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
/// <summary>
/// Sets the title for this popup.
/// </summary>
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
-
- /// <summary>
- /// Downcasts a handle to pushButton handle.
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use as keyword.
- [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public new static PushButton DownCast(BaseHandle handle)
- {
- PushButton ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as PushButton;
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- /// <summary>
- /// UnselectedIcon.
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use UnselectedVisual.
- [Obsolete("Please do not use! This will be deprecated! Please use UnselectedVisual instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public string UnselectedIcon
- {
- set
- {
- SetProperty(PushButton.Property.UNSELECTED_ICON, new Tizen.NUI.PropertyValue(value));
- }
- }
-
- /// <summary>
- /// SelectedIcon.
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use SelectedVisual.
- [Obsolete("Please do not use! This will be deprecated! Please use SelectedVisual instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public string SelectedIcon
- {
- set
- {
- SetProperty(PushButton.Property.SELECTED_ICON, new Tizen.NUI.PropertyValue(value));
- }
- }
-
- /// <summary>
- /// Please do not use! this will be deprecated
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- [Obsolete("Please do not use! This will be deprecated! Please use LabelRelativeAlignment instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public IconAlignmentType IconAlignment
- {
- get
- {
- string temp;
- if (GetProperty(PushButton.Property.ICON_ALIGNMENT).Get(out temp) == false)
- {
- NUILog.Error("IconAlignment get error!");
- }
- switch (temp)
- {
- case "LEFT":
- return IconAlignmentType.Left;
- case "RIGHT":
- return IconAlignmentType.Right;
- case "TOP":
- return IconAlignmentType.Top;
- case "BOTTOM":
- return IconAlignmentType.Bottom;
- default:
- return IconAlignmentType.Default;
- }
- }
- set
- {
- string valueToString = "";
- switch (value)
- {
- case IconAlignmentType.Left:
- {
- valueToString = "LEFT";
- break;
- }
- case IconAlignmentType.Right:
- {
- valueToString = "RIGHT";
- break;
- }
- case IconAlignmentType.Top:
- {
- valueToString = "TOP";
- break;
- }
- case IconAlignmentType.Bottom:
- {
- valueToString = "BOTTOM";
- break;
- }
- default:
- {
- valueToString = "DEFAULT";
- break;
- }
- }
- SetProperty(PushButton.Property.ICON_ALIGNMENT, new Tizen.NUI.PropertyValue(valueToString));
- }
- }
-
- /// <summary>
- /// Please do not use! this will be deprecated
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// no use
- [Obsolete("Please do not use! This will be deprecated! Please use Button.LabelPadding instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public new Vector4 LabelPadding
- {
- get
- {
- Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
- GetProperty(PushButton.Property.LABEL_PADDING).Get(temp);
- return temp;
- }
- set
- {
- SetProperty(PushButton.Property.LABEL_PADDING, new Tizen.NUI.PropertyValue(value));
- }
- }
-
- /// <summary>
- /// Please do not use! this will be deprecated
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// no use
- [Obsolete("Please do not use! This will be deprecated! Please use ForegroundVisualPadding instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public Vector4 IconPadding
- {
- get
- {
- Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
- GetProperty(PushButton.Property.ICON_PADDING).Get(temp);
- return temp;
- }
- set
- {
- SetProperty(PushButton.Property.ICON_PADDING, new Tizen.NUI.PropertyValue(value));
- }
- }
-
- /// <summary>
- /// Please do not use! this will be deprecated
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// no use
- [Obsolete("Please do not use! This will be deprecated! Please use Button.Align instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public enum IconAlignmentType
- {
- /// <summary>
- /// The icon located to the left of text.
- /// </summary>
- Left,
- /// <summary>
- /// The icon located to the right of text.
- /// </summary>
- Right,
- /// <summary>
- /// The icon located to the top of text.
- /// </summary>
- Top,
- /// <summary>
- /// The icon located to the bottom of text.
- /// </summary>
- Bottom,
- /// <summary>
- /// The icon located to the right of text by default.
- /// </summary>
- Default = Right
- }
-
}
}
\ No newline at end of file
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- /// <summary>
- /// Downcasts a handle to scrollBar handle.
- /// </summary>
- /// <since_tizen> 3 </since_tizen>
- /// Please do not use! this will be deprecated!
- /// Instead please use as keyword.
- [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public new static ScrollBar DownCast(BaseHandle handle)
- {
- ScrollBar ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as ScrollBar;
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
internal void SetScrollPropertySource(Animatable handle, int propertyScrollPosition, int propertyMinScrollPosition, int propertyMaxScrollPosition, int propertyScrollContentSize)
{
NDalicPINVOKE.ScrollBar_SetScrollPropertySource(swigCPtr, Animatable.getCPtr(handle), propertyScrollPosition, propertyMinScrollPosition, propertyMaxScrollPosition, propertyScrollContentSize);
/// Creates the property map representing this visual.
/// </summary>
/// <since_tizen> 3 </since_tizen>
- [Obsolete("Please be caution! This will be readonly!")]
- [EditorBrowsable(EditorBrowsableState.Never)]
public PropertyMap Creation
{
- set
- {
- CreatePropertyMap(value);
- }
get
{
PropertyMap map = new PropertyMap();