編輯

共用方式為


ContextMenuService.GetVerticalOffset(DependencyObject) Method

Definition

Gets the value of the VerticalOffset property of the specified object.

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

Parameters

element
DependencyObject

Object to query concerning the VerticalOffset property.

Returns

Value of the VerticalOffset property.

Attributes

Applies to