編輯

共用方式為


ContextMenuService.SetVerticalOffset(DependencyObject, Double) Method

Definition

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

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

Parameters

element
DependencyObject

Object to set value on.

value
Double

Value to set.

Applies to