AxHost.AboutBoxDelegate Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the method that will display an ActiveX control's About dialog box.
protected: delegate void AxHost::AboutBoxDelegate();
protected delegate void AxHost.AboutBoxDelegate();
Protected Delegate Sub AxHost.AboutBoxDelegate()
Remarks
The AxHost.AboutBoxDelegate provides you the ability to be notified when the ActiveX control's About box is going to be displayed. Code added to the delegate method is executed before the About box is displayed.
When you create an AxHost.AboutBoxDelegate delegate, you identify the method that will handle the display of an ActiveX control's About dialog box if it has one. To associate the method with your handler, add an instance of the delegate to the method. The handler is called whenever the method is called, unless you remove the delegate. For more information about delegates, see Handling and Raising Events.
For an example, see AxHost.
Extension Methods
GetMethodInfo(Delegate) |
Gets an object that represents the method represented by the specified delegate. |