Window.TaskPanes property

Office 2013 and later

Gets a reference to the TaskPaneCollection collection that is associated with the Window object.

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

'Declaration
Public MustOverride ReadOnly Property TaskPanes As TaskPaneCollection
	Get
'Usage
Dim instance As Window
Dim value As TaskPaneCollection

value = instance.TaskPanes

Property value

Type: Microsoft.Office.InfoPath.TaskPaneCollection
A reference to the TaskPaneCollection collection that is associated with the Window object.

The TaskPanes property can be used only with the editing window types; if used with a designing window type, it will raise an exception.

This member can be accessed without restrictions.

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

Show: