Επεξεργασία

Κοινή χρήση μέσω


ContextMenuService.GetHorizontalOffset(DependencyObject) Method

Definition

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

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

Parameters

element
DependencyObject

Object to query concerning the HorizontalOffset property.

Returns

Value of the HorizontalOffset property.

Attributes

Applies to