Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

TaskPane.Visible property

Gets or sets whether the task pane represented by the TaskPane object is visible in the Microsoft InfoPath user interface.

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

Public MustOverride Property Visible As Boolean
Dim instance As TaskPane
Dim value As Boolean

value = instance.Visible

instance.Visible = value

Property value

Type: System.Boolean
true if the task pane is visible; otherwise false.

Setting the Visible property to true causes the task pane to appear in the user interface, and setting it to false causes it to be removed from the user interface.

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.

© 2015 Microsoft