DesignerView.SetCommandMenuMode Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Sets the command menu mode on the specified object.
Namespace: System.Activities.Design.View
Assembly: System.Activities.Design (in System.Activities.Design.dll)
Syntax
'Declaration
Public Shared Sub SetCommandMenuMode ( _
obj As DependencyObject, _
value As CommandMenuMode _
)
'Usage
Dim obj As DependencyObject
Dim value As CommandMenuMode
DesignerView.SetCommandMenuMode(obj, value)
public static void SetCommandMenuMode(
DependencyObject obj,
CommandMenuMode value
)
public:
static void SetCommandMenuMode(
DependencyObject^ obj,
CommandMenuMode^ value
)
public static function SetCommandMenuMode(
obj : DependencyObject,
value : CommandMenuMode
)
static member SetCommandMenuMode :
obj:DependencyObject *
value:CommandMenuMode -> unit
Parameters
- obj
Type: System.Windows.DependencyObject
The object.
- value
Type: System.Activities.Design.View.CommandMenuMode
The value to set.
.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