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
Public MustOverride ReadOnly Property TaskPaneType As TaskPaneType
Get
'Usage
Dim instance As TaskPane
Dim value As TaskPaneType
value = instance.TaskPaneType
public abstract TaskPaneType TaskPaneType { get; }
Property Value
Type: Microsoft.Office.InfoPath.TaskPaneType
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 InfoPath Filler.