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

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

适用于