GridLength GridLength GridLength GridLength Constructors

Definition

Überlädt

GridLength(Double) GridLength(Double) GridLength(Double) GridLength(Double)

Initialisiert eine neue Instanz der GridLength-Struktur unter Verwendung des angegebenen absoluten Werts in Pixel.Initializes a new instance of the GridLength structure using the specified absolute value in pixels.

GridLength(Double, GridUnitType) GridLength(Double, GridUnitType) GridLength(Double, GridUnitType) GridLength(Double, GridUnitType)

Initialisiert eine neue Instanz der GridLength-Struktur und gibt die Art des darin enthaltenen Werts an.Initializes a new instance of the GridLength structure and specifies what kind of value it holds.

GridLength(Double) GridLength(Double) GridLength(Double) GridLength(Double)

Initialisiert eine neue Instanz der GridLength-Struktur unter Verwendung des angegebenen absoluten Werts in Pixel.Initializes a new instance of the GridLength structure using the specified absolute value in pixels.

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 Double Double Double

Die Anzahl geräteunabhängiger Pixel (96 Pixel pro Zoll).The number of device-independent pixels (96 pixels-per-inch).

Ausnahmen

GridLength(Double, GridUnitType) GridLength(Double, GridUnitType) GridLength(Double, GridUnitType) GridLength(Double, GridUnitType)

Initialisiert eine neue Instanz der GridLength-Struktur und gibt die Art des darin enthaltenen Werts an.Initializes a new instance of the GridLength structure and specifies what kind of value it holds.

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 Double Double Double

Der Anfangswert dieser Instanz von GridLength.The initial value of this instance of GridLength.

type
GridUnitType GridUnitType GridUnitType GridUnitType

Der GridUnitType, der in dieser Instanz von GridLength enthalten ist.The GridUnitType held by this instance of GridLength.

Ausnahmen

Siehe auch

Gilt für: