_CustomTaskPane Interface

Definition

Represents a custom task pane in the container application.

public interface class _CustomTaskPane
[System.Runtime.InteropServices.Guid("000C033B-0000-0000-C000-000000000046")]
public interface _CustomTaskPane
[<System.Runtime.InteropServices.Guid("000C033B-0000-0000-C000-000000000046")>]
type _CustomTaskPane = interface
Public Interface _CustomTaskPane
Derived
Attributes

Remarks

Note: You can create custom task panes in any language that supports COM and allows you to create dynamic-linked library (DLL) files. For example, Microsoft Visual Basic® 6.0, Microsoft Visual Basic .NET, Microsoft Visual C++®, Microsoft Visual C++ .NET, and Microsoft Visual C#®. However, Microsoft Visual Basic for Applications (VBA) does not support creating custom task panes.

Properties

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

Methods

Delete()

Deletes the active custom task pane.

Applies to