Control.MeasureOverride(Size) Control.MeasureOverride(Size) Control.MeasureOverride(Size) Control.MeasureOverride(Size) Method

Definición

Se llama para medir de nuevo un control.Called to remeasure a 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

Parámetros

constraint
Size Size Size Size

Tamaño máximo que el método puede devolver.The maximum size that the method can return.

Devoluciones

El tamaño del control, hasta el máximo especificado por constraint.The size of the control, up to the maximum specified by constraint.

Comentarios

La medida predeterminada del control mide solo el primer elemento secundario visual.The default control measurement only measures the first visual child.

Se aplica a