Compartilhar via


DesignerView.SetCommandMenuMode(DependencyObject, CommandMenuMode) Método

Definição

Define o modo de menu de comando em um objeto de dependência especificado.

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)

Parâmetros

obj
DependencyObject

O objeto de dependência em que o modo de menu de comando está definido.

value
CommandMenuMode

O valor do modo de menu de comando a ser definido.

Aplica-se a