GridLength Konstruktoren

Definition

Initialisiert eine neue Instanz der GridLength Struktur.

Überlädt

Name Beschreibung
GridLength(Double)

Initialisiert eine neue Instanz der GridLength Struktur unter Verwendung des angegebenen absoluten Werts in Pixeln.

GridLength(Double, GridUnitType)

Initialisiert eine neue Instanz der GridLength Struktur und gibt an, welche Art von Wert sie enthält.

GridLength(Double)

Initialisiert eine neue Instanz der GridLength Struktur unter Verwendung des angegebenen absoluten Werts in Pixeln.

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

Parameter

pixels
Double

Die Anzahl geräteunabhängiger Pixel (96 Pixel pro Zoll).

Ausnahmen

Gilt für:

GridLength(Double, GridUnitType)

Initialisiert eine neue Instanz der GridLength Struktur und gibt an, welche Art von Wert sie enthält.

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)

Parameter

value
Double

Der Anfangswert dieser Instanz von GridLength.

type
GridUnitType

Die GridUnitType von dieser Instanz GridLengthvon .

Ausnahmen

Weitere Informationen

Gilt für: