FixedPage.GetBottom(UIElement) Méthode

Définition

Retourne la distance entre le bord inférieur d'un élément et le bord inférieur de son Canvas parent.

public:
 static double GetBottom(System::Windows::UIElement ^ element);
[System.ComponentModel.TypeConverter("System.Windows.LengthConverter, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null")]
[System.Windows.AttachedPropertyBrowsableForChildren]
public static double GetBottom (System.Windows.UIElement element);
[System.Windows.AttachedPropertyBrowsableForChildren]
[System.ComponentModel.TypeConverter("System.Windows.LengthConverter, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null")]
public static double GetBottom (System.Windows.UIElement element);
[<System.ComponentModel.TypeConverter("System.Windows.LengthConverter, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null")>]
[<System.Windows.AttachedPropertyBrowsableForChildren>]
static member GetBottom : System.Windows.UIElement -> double
[<System.Windows.AttachedPropertyBrowsableForChildren>]
[<System.ComponentModel.TypeConverter("System.Windows.LengthConverter, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null")>]
static member GetBottom : System.Windows.UIElement -> double
Public Shared Function GetBottom (element As UIElement) As Double

Paramètres

element
UIElement

Élément à partir duquel obtenir le décalage inférieur.

Retours

Distance entre le bord inférieur d'un élément et le bord inférieur de sa zone de dessin parente.

Attributs

Remarques

Si le décalage inférieur n’a pas été défini, GetBottom retourne NaN.

S’applique à

Voir aussi