語言

ContextMenuService.GetHorizontalOffset(DependencyObject) 方法

定義

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

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

參數

element
DependencyObject

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

傳回

房產價值 HorizontalOffset 。

屬性

適用於