GridLength Konstruktory

Definice

Inicializuje novou instanci GridLength struktury.

Přetížení

GridLength(Double)

Inicializuje novou instanci GridLength struktury pomocí zadané absolutní hodnoty v pixelech.

GridLength(Double, GridUnitType)

Inicializuje novou instanci GridLength struktury a určuje, jaký druh hodnoty obsahuje.

GridLength(Double)

Inicializuje novou instanci GridLength struktury pomocí zadané absolutní hodnoty v pixelech.

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

Parametry

pixels
Double

Počet pixelů nezávislých na zařízení (96 pixelů na paleci).

Výjimky

Platí pro

GridLength(Double, GridUnitType)

Inicializuje novou instanci GridLength struktury a určuje, jaký druh hodnoty obsahuje.

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)

Parametry

value
Double

Počáteční hodnota této instance objektu GridLength.

type
GridUnitType

V GridUnitType držení této instance .GridLength

Výjimky

Viz také

Platí pro