Share via


TaskPane.TaskPaneType Property (Microsoft.Office.InfoPath)

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
'Usage
Dim instance As TaskPane
Dim value As TaskPaneType

value = instance.TaskPaneType
public abstract TaskPaneType TaskPaneType { get; }

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