The event handler receives an argument of type DesktopAlertLinkClickedEventArgs containing data related to this event. The following DesktopAlertLinkClickedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
CloseWindow | Gets/sets whether the desktop alert window should be closed when execution returns from this event. |
LinkClickedArgs | Returns the Infragistics.Win.FormattedLinkLabel.LinkClickedEventArgs instance which contains information about the link that was clicked. |
LinkType | Returns the type of link that was clicked, i.e., the UltraDesktopAlertWindowInfo.Caption, UltraDesktopAlertWindowInfo.Text, or UltraDesktopAlertWindowInfo.FooterText link. |
WindowInfo (Inherited from Infragistics.Win.Misc.DesktopAlertEventArgsBase) | Returns a reference to the UltraDesktopAlertWindowInfo instance for which the event was fired. |
Note: The DesktopAlertLinkClicked event will not fire when the UltraDesktopAlertShowWindowInfo.Caption, UltraDesktopAlertShowWindowInfo.Text, or UltraDesktopAlertShowWindowInfo.FooterText is clicked if the property is set to a value that cannot be parsed into a link. A link can be formed by enclosing the text to be displayed in an anchor tag (for example, <a>Link</a>)
The TreatCaptionAsLink, TreatTextAsLink, and TreatFooterTextAsLink properties can be used to cause the DesktopAlertLinkClicked event to be generated (when the associated formatted text element is clicked) without having to specifically use anchor tags when assigning the values of the UltraDesktopAlertShowWindowInfo.Caption, UltraDesktopAlertShowWindowInfo.Text, or UltraDesktopAlertShowWindowInfo.FooterText properties.
The Caption, Text, and FooterText properties of the UltraDesktopAlertShowWindowInfo class accept formatted text as recognized by the Infragistics.Win.FormattedLinkLabel.FormattedLinkEditor; for information on supported formatting tags, consult the Formatted Text and Hyperlinks topic. Note that the hyperlinks and formatted text displayed in the desktop alert windows do not support editing.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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