Share via


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

.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