Track.MeasureOverride(Size) 方法

定义

测量 Track 及其组件所要求的布局大小。

protected:
 override System::Windows::Size MeasureOverride(System::Windows::Size availableSize);
protected override System.Windows.Size MeasureOverride (System.Windows.Size availableSize);
override this.MeasureOverride : System.Windows.Size -> System.Windows.Size
Protected Overrides Function MeasureOverride (availableSize As Size) As Size

参数

availableSize
Size

轨迹的可用空间的大小。

返回

Size 所要求的布局 Track

适用于