Edit

Share via


TaskPane.TaskPaneType Property

Definition

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

public:
 abstract property Microsoft::Office::InfoPath::TaskPaneType TaskPaneType { Microsoft::Office::InfoPath::TaskPaneType get(); };
public abstract Microsoft.Office.InfoPath.TaskPaneType TaskPaneType { get; }
member this.TaskPaneType : Microsoft.Office.InfoPath.TaskPaneType
Public MustOverride ReadOnly Property TaskPaneType As TaskPaneType

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 InfoPath Filler.

Applies to