Skip to main content
A newer version of this page is available. .

AlertControl Members

The component that supports displaying alert windows.

Constructors

Name Description
AlertControl() Initializes a new instance of the AlertControl class with the specified settings.
AlertControl(IContainer) Initializes a new instance of the AlertControl class with the specified container.

Properties

Name Description
AlertFormList Provides access to the list of active alert windows.
AllowHotTrack Gets or sets whether text in alert windows is hot-tracked when hovering over it with the mouse.
AllowHtmlText Gets or sets whether HTML tags can be used to format an alert window’s caption and text.
AppearanceCaption Provides appearance settings that are used to paint the captions of alert windows.
AppearanceHotTrackedText Provides appearance settings that are used to paint the text in alert windows when the text is hovered over.
AppearanceText Provides appearance settings that are used to paint the text in alert windows when the text is not hovered over.
AutoFormDelay Gets or sets an alert window’s delay, in milliseconds.
AutoHeight Gets or sets whether the height of alert windows are automatically calculated, according to their content.
Buttons Provides access to the collection of custom buttons that can be displayed in alert windows.
CanRaiseEvents protected Gets a value indicating whether the component can raise an event. Inherited from Component.
Container Gets the IContainer that contains the Component. Inherited from Component.
ControlBoxPosition Gets or sets the position of an alert window’s control box.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
Events protected Gets the list of event handlers that are attached to this Component. Inherited from Component.
FormDisplaySpeed Gets or sets the speed of the appearance of an alert window.
FormLocation Gets or sets the screen position where alert windows appear.
FormMaxCount Gets or sets the maximum number of simultaneously displayed alert windows.
FormShowingEffect Gets or sets an animation effect applied when displaying an alert window.
IgnoreChildren This method supports the internal infrastructure and is not intended to be used directly from your code.
Images Gets or sets the source of images for buttons that can be displayed in alert windows.
LookAndFeel Provides access to settings controlling the look and feel of alert windows.
PopupMenu Gets or sets a popup menu associated with alert windows.
PostponedFormList Provides access to alert windows whose display is postponed.
ShowCloseButton Gets or sets whether the Close button must be displayed in newly created alert windows.
ShowPinButton Gets or sets whether the Pin button must be displayed in newly created alert windows.
ShowToolTips Gets or sets whether tooltips are enabled for custom buttons in alert windows.
Site Gets or sets the ISite of the Component. Inherited from Component.

Methods

Name Description
CreateObjRef(Type) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject.
Dispose() Releases all resources used by the Component. Inherited from Component.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetLifetimeService() Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetService(Type) protected Returns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetType() Gets the Type of the current instance. Inherited from Object.
InitializeLifetimeService() Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protected Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
RaiseAlertClick(AlertInfo, AlertFormCore) Raises the AlertControl.AlertClick event.
RaiseButtonClick(AlertButton, AlertInfo, AlertFormCore) Raises the AlertControl.ButtonClick event.
RaiseButtonDownChanged(AlertButton, AlertInfo, AlertFormCore) Raises the AlertControl.ButtonDownChanged event.
RaiseFormClosing(AlertFormClosingEventArgs) Raises the AlertControl.FormClosing event.
RaiseFormLoad(AlertFormCore) Raises the AlertControl.FormLoad event.
RaiseGetDesiredAlertFormWidth(AlertFormWidthEventArgs) Raises the AlertControl.GetDesiredAlertFormWidth event.
RaiseMouseFromEnter(AlertEventArgs) Raises the AlertControl.MouseFormEnter event.
RaiseMouseFromLeave(AlertEventArgs) Raises the AlertControl.MouseFormLeave event.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Show(Form, AlertInfo) Displays an alert window displaying information from the specified AlertInfo structure.
Show(Form, String, String, Boolean) Displays an alert window with customized content settings.
Show(Form, String, String, Image) Displays an alert window with the specified caption, text and image.
Show(Form, String, String, String, Image, Object, Boolean) Displays an alert with customized settings and the capability to close on click.
Show(Form, String, String, String, Image, Object) Displays an alert window with the specified settings.
Show(Form, String, String, String, Image) Displays an alert window with the specified text, caption, image and the text displayed when the window’s text region is hot-tracked.
Show(Form, String, String, String) Displays an alert window with the specified text, caption and the text displayed when the window’s text region is hot-tracked.
Show(Form, String, String) Displays an alert window with the specified text and caption.
Show(Form) Displays an empty alert form.
ToString() Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.

Events

Name Description
AlertClick Fires when the text of alert windows is clicked.
BeforeFormShow Fires before displaying an alert window and allows it to be customized.
ButtonClick Fires when a custom button within an alert window has been clicked.
ButtonDownChanged Fires when the pressed state of a custom check button within an alert window has been changed.
Disposed Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
FormClosing Fires when an alert window is about to be closed.
FormLoad Fires after an alert window has been created, and allows you to customize the window and window’s buttons.
GetDesiredAlertFormWidth Allows you to set an alert window’s width.
MouseFormEnter Fires when the mouse pointer enters an alert window.
MouseFormLeave Fires when the mouse pointer leaves an alert window.
See Also