語言

ContextMenuService.GetVerticalOffset(DependencyObject) 方法

定義

取得指定物件屬性 VerticalOffset 的值。

public:
 static double GetVerticalOffset(System::Windows::DependencyObject ^ element);
[System.ComponentModel.TypeConverter(typeof(System.Windows.LengthConverter))]
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static double GetVerticalOffset(System.Windows.DependencyObject element);
[<System.ComponentModel.TypeConverter(typeof(System.Windows.LengthConverter))>]
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetVerticalOffset : System.Windows.DependencyObject -> double
Public Shared Function GetVerticalOffset (element As DependencyObject) As Double

參數

element
DependencyObject

對該物業的查詢 VerticalOffset 提出異議。

傳回

房產價值 VerticalOffset 。

屬性

適用於