DataGridLength コンストラクター

定義

DataGridLength クラスの新しいインスタンスを初期化します。

オーバーロード

DataGridLength(Double)

ピクセル単位の絶対値を使用して、DataGridLength クラスの新しいインスタンスを初期化します。

DataGridLength(Double, DataGridLengthUnitType)

指定した値と単位を使用して、DataGridLength クラスの新しいインスタンスを初期化します。

DataGridLength(Double, DataGridLengthUnitType, Double, Double)

値、単位、必要な値、および表示値を指定して、DataGridLength クラスの新しいインスタンスを初期化します。

DataGridLength(Double)

ピクセル単位の絶対値を使用して、DataGridLength クラスの新しいインスタンスを初期化します。

public:
 DataGridLength(double pixels);
public DataGridLength (double pixels);
new System.Windows.Controls.DataGridLength : double -> System.Windows.Controls.DataGridLength
Public Sub New (pixels As Double)

パラメーター

pixels
Double

初期化する長さを示す絶対ピクセル値 (96 ピクセル/インチ)。

例外

pixelsNaNNegativeInfinity、または PositiveInfinity です。

適用対象

DataGridLength(Double, DataGridLengthUnitType)

指定した値と単位を使用して、DataGridLength クラスの新しいインスタンスを初期化します。

public:
 DataGridLength(double value, System::Windows::Controls::DataGridLengthUnitType type);
public DataGridLength (double value, System.Windows.Controls.DataGridLengthUnitType type);
new System.Windows.Controls.DataGridLength : double * System.Windows.Controls.DataGridLengthUnitType -> System.Windows.Controls.DataGridLength
Public Sub New (value As Double, type As DataGridLengthUnitType)

パラメーター

value
Double

要求した要素のサイズ。

type
DataGridLengthUnitType

要素のサイズの計算方法を決定するために使用する型。

例外

valueNaNNegativeInfinity、または PositiveInfinity です。

- または -

typeAutoPixelStarSizeToCells、または SizeToHeader ではありません。

適用対象

DataGridLength(Double, DataGridLengthUnitType, Double, Double)

値、単位、必要な値、および表示値を指定して、DataGridLength クラスの新しいインスタンスを初期化します。

public:
 DataGridLength(double value, System::Windows::Controls::DataGridLengthUnitType type, double desiredValue, double displayValue);
public DataGridLength (double value, System.Windows.Controls.DataGridLengthUnitType type, double desiredValue, double displayValue);
new System.Windows.Controls.DataGridLength : double * System.Windows.Controls.DataGridLengthUnitType * double * double -> System.Windows.Controls.DataGridLength
Public Sub New (value As Double, type As DataGridLengthUnitType, desiredValue As Double, displayValue As Double)

パラメーター

value
Double

要求した要素のサイズ。

type
DataGridLengthUnitType

要素のサイズの計算方法を決定するために使用する型。

desiredValue
Double

要素に必要な計算されたサイズ。

displayValue
Double

要素の割り当てられたサイズ。

例外

valueNaNNegativeInfinity、または PositiveInfinity です。

- または -

typeAutoPixelStarSizeToCells、または SizeToHeader ではありません。

- または -

desiredValueNegativeInfinity または PositiveInfinity です。

- または -

displayValueNegativeInfinity または PositiveInfinity です。

適用対象