共用方式為


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

要設定的命令功能表模式值。

適用於