ContextMenuService.GetHorizontalOffset(DependencyObject) Metoda

Definice

Získá hodnotu HorizontalOffset vlastnosti zadaného objektu.

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

Parametry

element
DependencyObject

Objekt pro dotaz týkající se HorizontalOffset vlastnosti.

Návraty

Double

HorizontalOffset Hodnota vlastnosti.

Atributy

Platí pro