Condividi tramite


CommandRouting Class

Provides an alternate way of routing Visual Studio commands.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.Editor.CommandRouting

Namespace:  Microsoft.VisualStudio.Editor
Assembly:  Microsoft.VisualStudio.Editor (in Microsoft.VisualStudio.Editor.dll)

Syntax

'Declaration
Public NotInheritable Class CommandRouting
public static class CommandRouting
public ref class CommandRouting abstract sealed
[<AbstractClass>]
[<Sealed>]
type CommandRouting =  class end
public final class CommandRouting

The CommandRouting type exposes the following members.

Methods

  Name Description
Public methodStatic member GetInterceptsCommandRouting Gets the value of the InterceptsCommandRouting on a DependencyObject.
Public methodStatic member SetInterceptsCommandRouting Sets the value of the InterceptsCommandRouting on a DependencyObject.

Top

Fields

  Name Description
Public fieldStatic member InterceptsCommandRouting If true, prevents Visual Studio commands from being routed to the active command target, and instead causes raw WPF input to be routed to the element itself. Otherwise, commands executed in the Shell will follow their regular routing process.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Editor Namespace