*
*/
+using System;
+using System.ComponentModel;
+using Tizen.NUI.BaseComponents;
+
namespace Tizen.NUI
{
- using System;
- using System.ComponentModel;
- using Tizen.NUI.BaseComponents;
-
internal class TransitionItemBase : BaseHandle
{
/// <summary>
/// Creates an initialized TransitionItemBase.<br />
/// </summary>
- public TransitionItemBase(View target, bool isEntering, TimePeriod timePeriod, AlphaFunction alphaFunction) : this(Interop.TransitionItemBase.New(/*target.SwigCPtr, isEntering, timePeriod.SwigCPtr*/), true)
+ public TransitionItemBase(View target, bool isAppearing, TimePeriod timePeriod, AlphaFunction alphaFunction) : this(Interop.TransitionItemBase.New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+ AppearingTransition = isAppearing;
+ TimePeriod = timePeriod;
AlphaFunction = alphaFunction;
}
}
/// <summary>
+ /// Gets or sets whether this transition is appearing transition or not.
+ /// </summary>
+ public bool AppearingTransition
+ {
+ set
+ {
+ Interop.TransitionItemBase.SetAppearingTransition(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+ }
+
+ /// <summary>
/// Downcasts a handle to TransitionItemBase handle.<br />
/// If handle points to an TransitionItemBase object, the downcast produces a valid handle.<br />
/// If not, the returned handle is left uninitialized.<br />
return ret;
}
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TransitionItemBase obj)
- {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.SwigCPtr;
- }
-
internal TransitionItemBase(TransitionItemBase handle) : this(Interop.TransitionItemBase.NewTransitionItemBase(TransitionItemBase.getCPtr(handle)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();