共用方式為


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

SizeBulletDecorator 物件的大小而定,Bullet 控制項必要的 Child

適用於