Window.TaskPanes Property (Microsoft.Office.InfoPath)

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)

Syntax

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

value = instance.TaskPanes
public abstract TaskPaneCollection TaskPanes { get; }

Property Value

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

Remarks

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 Office InfoPath 2007.

See Also

Reference

Window Class
Window Members
Microsoft.Office.InfoPath Namespace