Bagikan melalui


ContextMenuAdapter Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Controls.WPF.ContextMenuAdapter

Namespace:  Microsoft.TeamFoundation.Controls.WPF
Assembly:  Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)

Syntax

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

The ContextMenuAdapter type exposes the following members.

Attached Properties

  Name Description
Public attached property ShowContextMenuCommand

Top

Methods

  Name Description
Public methodStatic member GetShowContextMenuCommand
Public methodStatic member SetShowContextMenuCommand

Top

Fields

  Name Description
Public fieldStatic member ShowContextMenuCommandProperty Captures right-click, context menu keyboard key, and shift+F10 (the various ways of invoking a context menu) and, when any one of these occur, invokes the attached command.

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.TeamFoundation.Controls.WPF Namespace