TaskDialogPage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a page of content of a task dialog.
public ref class TaskDialogPage
public class TaskDialogPage
type TaskDialogPage = class
Public Class TaskDialogPage
- Inheritance
-
TaskDialogPage
Remarks
It is possible to navigate a task dialog while it is shown by invoking the Navigate(TaskDialogPage) method with a target TaskDialogPage instance.
Constructors
TaskDialogPage() |
Initializes a new instance of the TaskDialogPage class. |
Properties
AllowCancel |
Gets or sets a value that indicates whether the task dialog can be closed with Cancel as resulting button by pressing ESC or Alt+F4 or by clicking the title bar's close button, even if a Cancel button isn't added to the Buttons collection. |
AllowMinimize |
Gets or sets a value that indicates whether the task dialog can be minimized when it is shown modeless. |
BoundDialog |
Gets the TaskDialog instance which this page is currently bound to. |
Buttons |
Gets or sets the collection of push buttons to be shown in this page. |
Caption |
Gets or sets the text to display in the title bar of the task dialog. |
DefaultButton |
Gets or sets the default button in the task dialog. |
EnableLinks |
Gets or sets a value that specifies whether the task dialog should interpret strings in the form |
Expander |
Gets or sets the dialog expander to be shown in this page. |
Footnote |
Gets or sets the footnote to be shown in this page. |
Heading |
Gets or sets the heading (main instruction). |
Icon |
Gets or sets the main icon. |
ProgressBar |
Gets or sets the progress bar to be shown in this page. |
RadioButtons |
Gets or sets the collection of radio buttons to be shown in this page. |
RightToLeftLayout |
Gets or sets a value that indicates whether text and controls are displayed reading right to left. |
SizeToContent |
Indicates that the width of the task dialog is determined by the width of its content area (similar to Message Box sizing behavior). |
Text |
Gets or sets the dialog's primary text content. |
Verification |
Gets or sets the verification checkbox to be shown in this page. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
Navigate(TaskDialogPage) |
Shows the new content in the current task dialog.
|
OnCreated(EventArgs) |
Raises the Created event. |
OnDestroyed(EventArgs) |
Raises the Destroyed event. |
OnHelpRequest(EventArgs) |
Raises the HelpRequest event. |
OnLinkClicked(TaskDialogLinkClickedEventArgs) |
Raises the LinkClicked event. |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Events
Created |
Occurs after this instance is bound to a task dialog and the task dialog has created the GUI elements represented by this TaskDialogPage instance. |
Destroyed |
Occurs when the task dialog is about to destroy the GUI elements represented by this TaskDialogPage instance and it is about to be unbound from the task dialog. |
HelpRequest |
Occurs when the user presses F1 while the task dialog has focus, or when the user clicks the Help button. |
LinkClicked |
Occurs when the user has clicked on a link. |