internal LayoutGroupWrapper(LayoutGroupWrapperImpl implementation) : this(LayoutPINVOKE.new_LayoutGroupWrapper__SWIG_2(LayoutGroupWrapperImpl.getCPtr(implementation)), true)
 {
     layoutGroupWrapperImpl = implementation;
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 /// <summary>
 /// Calculate the right measure spec for this child.
 /// Does the hard part of MeasureChildren: figuring out the MeasureSpec to
 /// pass to a particular child. This method figures out the right MeasureSpec
 /// for one dimension (height or width) of one child view.<br />
 /// </summary>
 /// <param name="measureSpec">The requirements for this view.</param>
 /// <param name="padding">The padding of this view for the current dimension and margins, if applicable.</param>
 /// <param name="childDimension"> How big the child wants to be in the current dimension.</param>
 /// <returns>a MeasureSpec for the child.</returns>
 public static LayoutMeasureSpec GetChildMeasureSpec(LayoutMeasureSpec measureSpec, LayoutLength padding, LayoutLength childDimension)
 {
     return(LayoutGroupWrapperImpl.GetChildMeasureSpec(measureSpec, padding, childDimension));
 }
Exemple #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(LayoutGroupWrapperImpl obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }