BCGControlBar Library for .NET
ShowContextMenuOnMouseDown Property




Gets or set the value indicating that a context menu should be displayed when the right mouse button is down.
Syntax
'Declaration
 
Public Property ShowContextMenuOnMouseDown As Boolean
'Usage
 
Dim instance As GridControl
Dim value As Boolean
 
instance.ShowContextMenuOnMouseDown = value
 
value = instance.ShowContextMenuOnMouseDown
public bool ShowContextMenuOnMouseDown {get; set;}
public: __property bool get_ShowContextMenuOnMouseDown();
public: __property void set_ShowContextMenuOnMouseDown( 
   bool value
);
public:
property bool ShowContextMenuOnMouseDown {
   bool get();
   void set (    bool value);
}
Remarks
When this property is true, ContextMenuNeeded event raised fro OnMouseDown handler. Otherwise it's raised from OnMouseUp handler.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GridControl Class
GridControl Members

Send Feedback