DesignerView.GetCommandMenuMode(DependencyObject) Method

Definition

Retrieves the command menu mode of the specified object.

public:
 static System::Activities::Presentation::View::CommandMenuMode ^ GetCommandMenuMode(System::Windows::DependencyObject ^ obj);
public static System.Activities.Presentation.View.CommandMenuMode GetCommandMenuMode (System.Windows.DependencyObject obj);
static member GetCommandMenuMode : System.Windows.DependencyObject -> System.Activities.Presentation.View.CommandMenuMode
Public Shared Function GetCommandMenuMode (obj As DependencyObject) As CommandMenuMode

Parameters

obj
DependencyObject

The object whose command menu mode is retrieved.

Returns

The command menu mode for the obj.

Applies to