HeaderPane
Main
Hide
Share Link
Print

Navigate Method, SftTaskDialogPage Class

Replaces this page with another page in the dialog that shows this page.

Class: SftTaskDialogPage
Namespace: Softelvdm.SftStyleNET
Assembly: Softelvdm.SftStyleNET

Syntax

public void Navigate( SftTaskDialogPage page );
Public Sub Navigate( ByVal page As SftTaskDialogPage )

Parameters

page

The page to show; null throws an ArgumentNullException.

Comments

Replaces this page with another page in the dialog that shows this page.

The SftTaskDialogPage.Destroyed event of this page occurs at once, the SftTaskDialogPage.Created event of the new page when it has appeared. When the Click handler of a button navigates, the dialog stays open. Navigate throws an InvalidOperationException while this page is not shown, in a Destroyed or CheckedChanged handler, after the dialog has started closing, and when the new page cannot be shown (see SftTaskDialog.ShowDialog).

See Also SftTaskDialogPage Class | Classes | SftStyle/NET 3.0