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
- obj
Type: System.Windows.DependencyObject
The object.
Return Value
Type: System.Activities.Design.View.CommandMenuMode
Returns CommandMenuMode.
Contains the command menu mode.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
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