Partilhar via


ContextMenuService.GetHorizontalOffset(DependencyObject) Método

Definição

Obtém o valor da propriedade HorizontalOffset do 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 a ser consultado referente à propriedade HorizontalOffset.

Retornos

Valor da propriedade HorizontalOffset.

Atributos

Aplica-se a