CustomTaskPane Members (Office)

Represents a custom task pane in the container application.

Methods

Name

Description

Delete

Deletes the active custom task pane.

Properties

Name

Description

Application

Gets the Application object of the host application. Read-only.

ContentControl

Gets the Microsoft ActiveX® control instance displayed in the custom task pane frame. Read-only.

DockPosition

Gets or sets an enumerated value specifying the docked position of a CustomTaskPane object. Read/write.

DockPositionRestrict

Gets or sets an enumerated value specifying a restriction on the orientation of a CustomTaskPane object. Read/write.

Height

Gets or sets the height of the CustomTaskPane object (in points). Read/write.

Title

Gets a String representing the title of a CustomTaskPane object. Read-only.

Visible

True if the specified CustomTaskPane object is visible. Read/write.

Width

Gets or sets the width of the task pane specified by the CustomTaskPane object. Read/write.

Window

Gets the parent window object of the CustomTaskPane object. Read-only.

Events

Name

Description

DockPositionStateChange

Occurs when the user changes the docking position of the active custom task pane.

VisibleStateChange

Occurs when the user changes the visibility of the custom task pane.