InkCanvas.GetBottom(UIElement) Метод

Определение

Возвращает значение присоединенного Bottom свойства для заданного объекта зависимостей.

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

Параметры

element
UIElement

Элемент, из которого нужно получить нижнее свойство.

Возвращаемое значение

Нижняя координата объекта зависимости.

Атрибуты

Примеры

В следующем примере показано, как получить позицию Buttonобъекта.

double buttonBottom = InkCanvas.GetBottom(button1);
Dim buttonBottom As Double = InkCanvas.GetBottom(button1)

Применяется к