Share via


DesignerView.GetCommandMenuMode Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Retrieves the command menu mode of the specified object.

Namespace:  System.Activities.Design.View
Assembly:  System.Activities.Design (in System.Activities.Design.dll)

Syntax

'Declaration
Public Shared Function GetCommandMenuMode ( _
    obj As DependencyObject _
) As CommandMenuMode
'Usage
Dim obj As DependencyObject
Dim returnValue As CommandMenuMode

returnValue = DesignerView.GetCommandMenuMode(obj)
public static CommandMenuMode GetCommandMenuMode(
    DependencyObject obj
)
public:
static CommandMenuMode^ GetCommandMenuMode(
    DependencyObject^ obj
)
public static function GetCommandMenuMode(
    obj : DependencyObject
) : CommandMenuMode
static member GetCommandMenuMode : 
        obj:DependencyObject -> CommandMenuMode 

Parameters

Return Value

Type: System.Activities.Design.View.CommandMenuMode
Returns CommandMenuMode.
Contains the command menu mode.

.NET Framework Security

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

DesignerView Class

DesignerView Members

System.Activities.Design.View Namespace