This documentation is archived and is not being maintained.

TaskPaneType Enumeration (Microsoft.Office.InfoPath)

Specifies the type of task pane that is currently selected.

Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in

public enum TaskPaneType

 Member nameDescription
BulletsNumberingThe Bullets and Numbering task pane. Used for applying bullet and numbering styles to a form 
ClipArtThe Clip Art task pane. Used for inserting clip art into a form. 
FindThe Find task pane. Used to search for text in a form. 
FormattingThe Font task pane. Used to format text. 
HtmlThe InfoPath custom task pane. Used by form developers to provide extra form functionality. 
ParagraphFormattingThe Paragraph task pane. Used to configure properties of paragraphs including alignment and spacing.  
ReplaceThe Replace task pane. Used to find and replace text in a form.  
SpellingThe Spelling task pane. Used to check the spelling in a form.  

These enumerated values are returned by the TaskPaneType property. These values are also used to specify the type of task pane to return using the Item property of the TaskPaneCollection class.

This type or member can be accessed only from code running in forms opened in Microsoft Office InfoPath 2007.