GridLength コンストラクター

定義

GridLength 構造体の新しいインスタンスを初期化します。

オーバーロード

GridLength(Double)

指定した絶対値 (ピクセル単位) を使用して、GridLength 構造体の新しいインスタンスを初期化します。

GridLength(Double, GridUnitType)

GridLength 構造体の新しいインスタンスを初期化して、保持する値の種類を指定します。

GridLength(Double)

指定した絶対値 (ピクセル単位) を使用して、GridLength 構造体の新しいインスタンスを初期化します。

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

パラメーター

pixels
Double

デバイス非依存ピクセルの数 (96 ピクセル/インチ)。

例外

Pixels は、NegativeInfinityPositiveInfinity、または NaN と同じです。

適用対象

GridLength(Double, GridUnitType)

GridLength 構造体の新しいインスタンスを初期化して、保持する値の種類を指定します。

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

パラメーター

value
Double

GridLength のこのインスタンスの初期値。

type
GridUnitType

GridUnitType のこのインスタンスに保持された GridLength

例外

value は、NegativeInfinityPositiveInfinity、または NaN と同じです。

こちらもご覧ください

適用対象