Version

PinButtonVisible Property (UltraDesktopAlertShowWindowInfo)

Specifies whether the desktop alert window displays a pin button, which, when clicked by the end user, toggles the value of the Pinned property.
Syntax
'Declaration
 
Public Property PinButtonVisible As Boolean
public bool PinButtonVisible {get; set;}
Remarks

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.

Example
The following code sample demonstrates how the use the PinButtonVisible property of the UltraDesktopAlertShowWindowInfo class to enable the end user to prevent a desktop alert window from automatically closing.

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);
    }
Requirements

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

See Also