When this property is set to true, the associated desktop alert window displays a button with a pushpin (a.k.a., thumbtack) graphic to the immediate left of the close button to provide a way for the end user to change the value of the Pinned property.
Imports Infragistics.Win Imports Infragistics.Win.Misc Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ' Create a new instance of the UltraDesktopAlertShowWindowInfo class. Dim showInfo As UltraDesktopAlertShowWindowInfo = New UltraDesktopAlertShowWindowInfo() ' Set the Caption and Text showInfo.Caption = String.Format("<a>{0}</a>", "Caption") showInfo.Text = String.Format("<a>{0}</a>", "Text") ' Set the PinButtonVisible to true so the end user can prevent ' the desktop alert window from automatically closing. showInfo.PinButtonVisible = True ' Call the Show method to display the desktop alert Me.desktopAlert.Show(showInfo) End Sub
using Infragistics.Win; using Infragistics.Win.Misc; using System.Diagnostics; private void Button1_Click(object sender, EventArgs e) { // Create a new instance of the UltraDesktopAlertShowWindowInfo class. UltraDesktopAlertShowWindowInfo showInfo = new UltraDesktopAlertShowWindowInfo(); // Set the Caption and Text showInfo.Caption = string.Format("<a>{0}</a>", "Caption"); showInfo.Text = string.Format("<a>{0}</a>", "Text"); // Set the PinButtonVisible to true so the end user can prevent // the desktop alert window from automatically closing. showInfo.PinButtonVisible = true; // Call the Show method to display the desktop alert this.desktopAlert.Show(showInfo); }
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