共用方式為


FlowLayout.GetExtent 方法

定義

/// [Windows.Foundation.Metadata.Experimental]
Rect GetExtent(Size const& availableSize, VirtualizingLayoutContext const& context, UIElement const& firstRealized, int const& firstRealizedItemIndex, Rect const& firstRealizedLayoutBounds, UIElement const& lastRealized, int const& lastRealizedItemIndex, Rect const& lastRealizedLayoutBounds);
[Windows.Foundation.Metadata.Experimental]
protected virtual Rect GetExtent(Size availableSize, VirtualizingLayoutContext context, UIElement firstRealized, int firstRealizedItemIndex, Rect firstRealizedLayoutBounds, UIElement lastRealized, int lastRealizedItemIndex, Rect lastRealizedLayoutBounds);
Protected Overridable Function GetExtent (availableSize As Size, context As VirtualizingLayoutContext, firstRealized As UIElement, firstRealizedItemIndex As Integer, firstRealizedLayoutBounds As Rect, lastRealized As UIElement, lastRealizedItemIndex As Integer, lastRealizedLayoutBounds As Rect) As Rect

參數

availableSize
Size
firstRealized
UIElement
firstRealizedItemIndex
Int32

int

firstRealizedLayoutBounds
Rect
lastRealized
UIElement
lastRealizedItemIndex
Int32

int

lastRealizedLayoutBounds
Rect

傳回

屬性

適用於