Uređivanje

Dijeli putem


DataGrid.MeasureOverride(Size) Method

Definition

Determines the desired size of the DataGrid.

protected:
 override System::Windows::Size MeasureOverride(System::Windows::Size availableSize);
protected override System.Windows.Size MeasureOverride (System.Windows.Size availableSize);
override this.MeasureOverride : System.Windows.Size -> System.Windows.Size
Protected Overrides Function MeasureOverride (availableSize As Size) As Size

Parameters

availableSize
Size

The maximum size that the DataGrid can occupy.

Returns

The desired size of the DataGrid.

Applies to