예제 #1
0
        internal static AutofillContainer DownCast(BaseHandle handle)
        {
            AutofillContainer ret = new AutofillContainer(Interop.AutofillContainer.DownCast(BaseHandle.getCPtr(handle)), true);

            if (NDalicPINVOKE.SWIGPendingException.Pending)
            {
                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #2
0
        internal static WidgetViewManager DownCast(BaseHandle handle)
        {
            WidgetViewManager ret = new WidgetViewManager(Interop.WidgetViewManager.DownCast(BaseHandle.getCPtr(handle)), true);

            if (NDalicPINVOKE.SWIGPendingException.Pending)
            {
                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #3
0
 /// <summary>
 /// Create an instance of BaseHandle.
 /// </summary>
 /// <param name="handle">The BaseHandle instance.</param>
 /// <since_tizen> 3 </since_tizen>
 public BaseHandle(BaseHandle handle) : this(Interop.BaseHandle.new_BaseHandle__SWIG_2(BaseHandle.getCPtr(handle)))
 {
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
 internal static FlexLayout DownCast(BaseHandle handle)
 {
     FlexLayout ret = new FlexLayout(Interop.FlexLayout.FlexLayout_DownCast(BaseHandle.getCPtr(handle)), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
예제 #5
0
        /// <summary>
        /// [Draft] Downcasts a handle to a AbsoluteLayout handle.
        /// If handle points to a AbsoluteLayout, the downcast produces a valid handle.
        /// If not, the returned handle is left uninitialized.
        /// </summary>
        /// <param name="handle">handle to an object</param>
        /// <returns>Handle to a AbsoluteLayout or an uninitialized handle</returns>
        internal static AbsoluteLayout DownCast(BaseHandle handle)
        {
            AbsoluteLayout ret = new AbsoluteLayout(LayoutPINVOKE.AbsoluteLayout_DownCast(BaseHandle.getCPtr(handle)), true);

            if (NDalicPINVOKE.SWIGPendingException.Pending)
            {
                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }