Share via


InPlaceVisibilityChangeEventArgs.Visible Property

Gets a value indicating whether the in-place Input Panel is open.

Namespace:  Microsoft.Ink.TextInput
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

Syntax

'Declaration
Public ReadOnly Property Visible As Boolean
'Usage
Dim instance As InPlaceVisibilityChangeEventArgs 
Dim value As Boolean 

value = instance.Visible
public bool Visible { get; }
public:
property bool Visible {
    bool get ();
}
public function get Visible () : boolean

Property Value

Type: System.Boolean
true if the in-place Input Panel is open; otherwise, false.

Examples

This example defines an event handler for the InPlaceVisibilityChanging event where the Visible value is used to set the TextBox.Text property of a TextBox, outputTextBox.

Sub tip_InPlaceVisibilityChanging(ByVal sender As Object, ByVal e As InPlaceVisibilityChangeEventArgs)
    outputTextBox.Text += IIf(e.Visible, "Panel is Visible", "Panel is not Visible") + Environment.NewLine
End Sub
void tip_InPlaceVisibilityChanging(object sender, InPlaceVisibilityChangeEventArgs e)
{
    outputTextBox.Text += (e.Visible ? "Panel is Visible" : "Panel is not Visible") + Environment.NewLine;
}

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

InPlaceVisibilityChangeEventArgs Class

InPlaceVisibilityChangeEventArgs Members

Microsoft.Ink.TextInput Namespace