BulletDecorator.MeasureOverride(Size) 方法

定义

重写 BulletDecorator 控件的对象的默认测量行为。

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

参数

constraint
Size

SizeBulletDecorator 上限。

返回

Size

Size 控件所需的 BulletDecorator,基于其 BulletChild 对象的大小。

适用于