ContextMenuService.GetHorizontalOffset(DependencyObject) 方法     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取指定对象的 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 属性的值。
- 属性