Redigera

Dela via


DesignerView.SetCommandMenuMode(DependencyObject, CommandMenuMode) Method

Definition

Sets the command menu mode on a specified dependency object.

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)

Parameters

obj
DependencyObject

The dependency object on which the command menu mode is set.

value
CommandMenuMode

The command menu mode value to set.

Applies to