Edytuj

Udostępnij za pośrednictwem


ContextMenuService.SetHorizontalOffset(DependencyObject, Double) Method

Definition

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

public:
 static void SetHorizontalOffset(System::Windows::DependencyObject ^ element, double value);
public static void SetHorizontalOffset (System.Windows.DependencyObject element, double value);
static member SetHorizontalOffset : System.Windows.DependencyObject * double -> unit
Public Shared Sub SetHorizontalOffset (element As DependencyObject, value As Double)

Parameters

element
DependencyObject

Object to set the value on.

value
Double

Value to set.

Applies to