/// <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); }