コード例 #1
0
 public static void Distribute(this LayoutBuilder layout, RectangleF bounds, DistributionDirection direction,
                               params PlatformView[] views)
 {
     if (direction == DistributionDirection.Horizontal)
     {
         layout.DistributeHorizontally(bounds, views);
     }
     else
     {
         layout.DistributeVertically(bounds, views);
     }
 }
コード例 #2
0
 public static void DistributeVertically(this LayoutBuilder layout, params PlatformView[] views)
 {
     layout.DistributeVertically(layout.PaddedOuterBounds, views);
 }