DataGridCell.MeasureOverride(Size) メソッド

定義

DataGridCell の必要なサイズを決定します。Determines the desired size of the DataGridCell.

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

パラメーター

constraint
Size

セルが占めることができる最大サイズ。The maximum size that the cell can occupy.

戻り値

Size

DataGridCell の必要なサイズ。The desired size of the DataGridCell.

注釈

メソッドは、 MeasureOverride セルおよび右側のグリッド線に必要な領域を測定します。The MeasureOverride method measures the area needed for the cell and the gridline on the right.

適用対象