Share via


TaskPane.TaskPaneType Property

Gets a TaskPaneType value indicating the type of task pane represented by the TaskPane object.

Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)

Syntax

'Declaration
'Usage

Property Value

A TaskPaneType value that indicates the type of task pane represented by the TaskPane object.

Remarks

If the TaskPaneType property returns TaskPaneType.Html, the task pane is a custom task pane. If the TaskPaneType property returns any other TaskPaneType enumerated value, the task pane is a built-in task pane.

Note

TaskPaneType property returns values defined by the TaskPaneType enumeration. These enumerated values are also used as arguments to the Item(TaskPaneType) property of the TaskPaneCollection class for returning a reference to a specified type of task pane.

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

TaskPane Class
TaskPane Members
Microsoft.Office.InfoPath Namespace