BCGControlBar Library for .NET
DesktopAlert Class Members
Properties  Methods  Events


The following tables list the members exposed by DesktopAlert.

Public Constructors
 NameDescription
Public ConstructorDesktopAlert Constructor  
Top
Public Properties
 NameDescription
Public PropertyAnimationSpeedSpecifies the rate of animation effect. The internal animation timer interval is set to
the value equal to AnimationSpeed / 10. The default value is 30.  
Public PropertyAnimationTypeSpecifies the animation type, which can be fade, slide, unfold, or appearance without animation.  
Public PropertyAutoCloseTimeGets or sets the time out, which tells how long the desktop alert window is displayed on the screen if the user does not takes any actions. When the animation has been completed, the library starts a timer and if you user does not touch the window within the specified amount of time, the desktop alert window is automatically hidden. This happens only if CanAutoClose property is set to true.  
Public PropertyCanAutoCloseGets or sets the value specifying whether the desktop alert control can be closed after some time if the user hasn't taken any actions on the window.  
Public PropertyCaptionSpecifies the text displayed on the desktop alert window caption. This property does not have any effect if HasSmallCaption property is true.  
Public PropertyContainer (Inherited from System.ComponentModel.Component)
Public PropertyCurrentIconGets or sets the image that will be displayed within a designated area of the desktop alert window. The image is stretched if its size exceeds200 x 200 pixel.  
Public PropertyCurrentVisualManagerA reference to Visual Manager, which controls look of the desktop alert window.  
Public PropertyDesktopAlertWindowA desktop alert window, which is controlled by this component.  
Public PropertyEmbeddedControlSpecifies the control associated with the popup window. The specified control covers the whole surface of the popup window except the caption area and margin. This control is a Panel with a custom set of controls. If a reference to EmbeddedControl is set to null, the standard popup window will be displayed. It will contain an image, text and a link.  
Public PropertyHasCaptionButton

Specifies whether the desktop alert window contains a special caption button, which displays a popup menu referenced by PopupAlertMenu property.

The caption button is not displayed if PopupAlertMenu value is null.

 
Public PropertyHasCloseButtonSpecifies whether the desktop alert window displays a close button on the caption.  
Public PropertyHasSmallCaptionSpecifies whether the desktop alert window has small caption. The default height of small caption is 7 pixel.  
Public PropertyHeaderIconSpecifies the icon that is displayed on the caption of desktop alert window. The icon is not displayed if HasSmallCaption property is true.  
Public PropertyIsAlertControlVisible  
Public PropertyIsAutoClose  
Public PropertyLinkTextSpecifies the text of link.  
Public PropertyMessageSpecifes the text of message.  
Public PropertyPopupAlertMenuA reference to context menu displayed when the user clicks the caption menu button.  
Public PropertySite (Inherited from System.ComponentModel.Component)
Public PropertyTransparencyGets or sets the transparency level of the popup window and its controls. Its value varies from 0 (transparent) through 100 (opaque). The default is 100.
When this property is set to a value less than 100 percent the entire popup window, including borders and its embedded control, becomes transparent.
 
Public PropertyTransparentColorTransparent color of CurrentIcon. Can be ignored if the icon is represented by transparent image.  
Public PropertyTransparentHeaderColorTransparent color of HeaderIcon.  
Public PropertyURLURL assigned to link.  
Top
Protected Properties
Public Methods
 NameDescription
Public MethodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public MethodDisposeOverloaded.  (Inherited from System.ComponentModel.Component)
Public MethodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodHidePopupAlertHides the DesktopAlertControl window. It sets the Visible property to false. The desktop alert window is not destroyed.
Call ShowPopupAlert to display the desktop alert window.  
Public MethodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodShouldSerializeCurrentIcon  
Public MethodShouldSerializeEmbeddedControl  
Public MethodShouldSerializeHeaderIcon  
Public MethodShouldSerializePopupAlertMenu  
Public MethodShowPopupAlertDisplays the related DesktopAlertControl window.  
Public MethodToString (Inherited from System.ComponentModel.Component)
Top
Protected Methods
Public Events
 NameDescription
Public EventDesktopAlertVisibilityChangedRaised when visibility of desktop alert window has changed.  
Public EventDisposed (Inherited from System.ComponentModel.Component)
Top
See Also

Reference

DesktopAlert Class
BCGSoft.Controls.Shared Namespace

Send Feedback