Compartir a través de


ContextMenuService.GetHorizontalOffset(DependencyObject) Método

Definición

Obtiene el valor de la propiedad HorizontalOffset del objeto especificado.

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

Parámetros

element
DependencyObject

Objeto que se va a consultar sobre la propiedad HorizontalOffset.

Devoluciones

Double

Valor de la propiedad HorizontalOffset.

Atributos

Se aplica a