Bewerken

Share via


ToolBarPanel.MeasureOverride(Size) Method

Definition

Remeasures a toolbar panel.

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 measurement constraints; a ToolBarPanel cannot return a size larger than the constraint.

Returns

The desired size of the panel.

Applies to