Example #1
0
        /// <summary>
        /// [draft] Downcast/>
        /// </summary>
        /// <param name="handle">Handle to the given object that maybe be a GridLayout.</param>
        /// <returns>Grid object if Downcase possible.</returns>
        public static GridLayout DownCast(BaseHandle handle)
        {
            GridLayout ret = new GridLayout(LayoutPINVOKE.GridLayout_DownCast(BaseHandle.getCPtr(handle)), true);

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