Spread Windows Forms 7.0 Product Documentation
GetDisplayLocationContextMenu Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Chart Namespace > SpreadChart Class : GetDisplayLocationContextMenu Method


cm
The context menu which will be displayed.
p
The initialized location to display the context menu.

Glossary Item Box

Gets the preferred display location context menu.

Syntax

Visual Basic (Declaration) 
Protected Function GetDisplayLocationContextMenu( _
   ByVal cm As ContextMenuStrip, _
   ByVal p As Point _
) As Point
Visual Basic (Usage)Copy Code
Dim instance As SpreadChart
Dim cm As ContextMenuStrip
Dim p As Point
Dim value As Point
 
value = instance.GetDisplayLocationContextMenu(cm, p)
C# 
protected Point GetDisplayLocationContextMenu( 
   ContextMenuStrip cm,
   Point p
)

Parameters

cm
The context menu which will be displayed.
p
The initialized location to display the context menu.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.