DesignerView.SetCommandMenuMode(DependencyObject, CommandMenuMode) 方法

定义

在指定的依赖项对象上设置命令菜单模式。

public:
 static void SetCommandMenuMode(System::Windows::DependencyObject ^ obj, System::Activities::Presentation::View::CommandMenuMode ^ value);
public static void SetCommandMenuMode(System.Windows.DependencyObject obj, System.Activities.Presentation.View.CommandMenuMode value);
static member SetCommandMenuMode : System.Windows.DependencyObject * System.Activities.Presentation.View.CommandMenuMode -> unit
Public Shared Sub SetCommandMenuMode (obj As DependencyObject, value As CommandMenuMode)

参数

obj
DependencyObject

在其中设置命令菜单模式的依赖项对象。

value
CommandMenuMode

要设置的命令菜单模式值。

适用于