共用方式為


FlowLayout.OnElementMeasured 方法

定義

/// [Windows.Foundation.Metadata.Experimental]
void OnElementMeasured(UIElement const& element, int const& index, Size const& availableSize, Size const& measureSize, Size const& desiredSize, Size const& provisionalArrangeSize, VirtualizingLayoutContext const& context);
[Windows.Foundation.Metadata.Experimental]
protected virtual void OnElementMeasured(UIElement element, int index, Size availableSize, Size measureSize, Size desiredSize, Size provisionalArrangeSize, VirtualizingLayoutContext context);
Protected Overridable Sub OnElementMeasured (element As UIElement, index As Integer, availableSize As Size, measureSize As Size, desiredSize As Size, provisionalArrangeSize As Size, context As VirtualizingLayoutContext)

參數

element
UIElement
index
Int32

int

availableSize
Size
measureSize
Size
desiredSize
Size
provisionalArrangeSize
Size
屬性

適用於