TaskPane.TaskPaneType Property (Microsoft.Office.InfoPath)
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)
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.
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.