BCGSoft.ControlBars.Ribbon Namespace > CategoryItem Class : ButtonFromPoint Method |
Overload | Description |
---|---|
ButtonFromPoint(Point) | Returns any ToolbarButton from the CategoryItem which contains the specified point. |
ButtonFromPoint(Point,Boolean) | If the boundaries of any visible Toolbar Button from the ToolBar contains a specified point, this Toolbar Button will be returned, otherwise, null value. (Inherited from BCGSoft.ControlBars.Toolbar) |
Returns NULL value, if no button from the Category item contains the specified point.
Returns ToolBarLaunchButton if the launch button related to the CategoryItem contains this point.
Returns ToolbarButton from the CategoryItem if any button from it contains the specified point.
Called by FrameWork on mouse event to indicate a button which was clicked.
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