編輯

共用方式為


TabPanel.MeasureOverride(Size) Method

Definition

Called when remeasuring the control is required.

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

Constraint size is an upper limit. The return value should not exceed this size.

Returns

The desired size.

Remarks

This method updates the desired size of a tab panel. It is called by the parent UIElement.

Applies to