Name
HelpEventArgs
Synopsis
This class encapsulates the event arguments for the
Control.HelpRequested
event. It includes a
Handled
property, which you should set to true if
you do handle the event, or the framework will pass the event on for
further processing.
You can also retrieve the current MousePos
if you
need to use this to resolve the help item.
You can display help using the Help
class, or use
the HelpProvider
component to provide automated
help support.
public class HelpEventArgs : EventArgs { // Public Constructors public HelpEventArgs(System.Drawing.Point mousePos); // Public Instance Properties public bool Handled{set; get; } public Point MousePos{get; } }
Hierarchy
System.Object
→ System.EventArgs → HelpEventArgs
Passed To
Control.OnHelpRequested()
,
HelpEventHandler.{BeginInvoke()
, Invoke()}
Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.