Partager via


GridLength Constructeurs

Définition

Surcharges

GridLength(Double)

Initialise un nouveau GridLength absolu.

GridLength(Double, GridUnitType)

Initialise un nouveau GridLength.

GridLength(Double)

Source:
GridLength.cs
Source:
GridLength.cs

Initialise un nouveau GridLength absolu.

public:
 GridLength(double value);
public GridLength (double value);
new Microsoft.Maui.GridLength : double -> Microsoft.Maui.GridLength
Public Sub New (value As Double)

Paramètres

value
Double

Valeur de la nouvelle longueur de la grille.

Remarques

Cela équivaut à un nouveau GridLength (valeur, GridUnitType.Absolute).

S’applique à

GridLength(Double, GridUnitType)

Source:
GridLength.cs
Source:
GridLength.cs

Initialise un nouveau GridLength.

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

Paramètres

value
Double

Taille de GridLength.

type
GridUnitType

GridUnitType (automatique, en étoile, absolu) du GridLength.

S’applique à