Megosztás a következőn keresztül:


CustomTaskPane Members (2007 System)

Include Protected Members
Include Inherited Members

Represents a custom task pane in a Microsoft Office application.

The CustomTaskPane type exposes the following members.

Methods

 

Name

Description

Public method

Dispose

Releases all resources used by the CustomTaskPane.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Public property

Control

Gets the UserControl that provides the user interface of the custom task pane.

Public property

DockPosition

Gets or sets a value that specifies where the custom task pane is located relative to the application window.

Public property

DockPositionRestrict

Gets or sets a value that prevents the custom task pane from being docked in the specified position.

Public property

Height

Gets or sets the height of the custom task pane, in points.

Public property

Title

Gets the title of the custom task pane.

Public property

Visible

Gets or sets a value that specifies whether the custom task pane is visible.

Public property

Width

Gets or sets the width of the custom task pane, in points.

Public property

Window

Gets the document window that the custom task pane is associated with.

Top

Events

 

Name

Description

Public event

DockPositionChanged

Occurs when the user changes the dock position of the custom task pane, or when code changes the value of the DockPosition property.

Public event

VisibleChanged

Occurs when the user displays or closes the custom task pane, or when code changes the value of the Visible property.

Top

See Also

Reference

CustomTaskPane Class

Microsoft.Office.Tools Namespace