CustomTaskPane members (Office)
Represents a custom task pane in the container application.
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. |
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. |
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for