BCGControlBar Library for .NET
RibbonObjectFromPoint Method (RibbonControl)




A point to retrieve.
The type of the Ribbon object from the specified point.
If the boundaries of any visible  CommandObject from the QuickAccessToolbar contains a specified point, this CommandObject will be returned and the type of the object to return will be set to the "type" parameter. Otherwise, null value will be returned.
Syntax
'Declaration
 
Public Overridable Function RibbonObjectFromPoint( _
   ByVal point As Point, _
   ByRef type As RibbonObjectType _
) As Object
'Usage
 
Dim instance As RibbonControl
Dim point As Point
Dim type As RibbonObjectType
Dim value As Object
 
value = instance.RibbonObjectFromPoint(point, type)
public virtual object RibbonObjectFromPoint( 
   Point point,
   ref RibbonObjectType type
)
public: virtual Object* RibbonObjectFromPoint( 
   Point point,
   ref RibbonObjectType type
) 
public:
virtual Object^ RibbonObjectFromPoint( 
   Point point,
   RibbonObjectType% type
) 

Parameters

point
A point to retrieve.
type
The type of the Ribbon object from the specified point.
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

RibbonControl Class
RibbonControl Members

Send Feedback