ContextMenuService.SetVerticalOffset(DependencyObject, Double) 方法

定义

设置指定对象的 VerticalOffset 属性的值。

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)

参数

element
DependencyObject

要对其设置值的对象。

value
Double

要设置的值。

适用于