編輯

共用方式為


BulletDecorator.MeasureOverride(Size) Method

Definition

Overrides the default measurement behavior for the objects of a BulletDecorator control.

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

Parameters

constraint
Size

The upper Size limit of the BulletDecorator.

Returns

The required Size for the BulletDecorator control, based on the size of its Bullet and Child objects.

Applies to