C# Class CK.WPF.Wizard.WizardPage

This class is used to fill the WizardManager's stack. It has all the properties needed by the WizardManager to display a wizard with next and back actions.
Inheritance: PropertyChangedBase, IWizardNavigable
Afficher le fichier Open project: Invenietis/ck-certified Class Usage Examples

Méthodes publiques

Свойство Type Description
WizardManager WizardManager

Private Properties

Свойство Type Description
WizardPage System

Méthodes publiques

Méthode Description
CheckCanGoBack ( ) : bool

Is called before going to the previous step of the wizard. Can be overridden to implement the test corresponding to the situation.

CheckCanGoFurther ( ) : bool

Is called before going to the next step of the wizard. Can be overridden to implement the test corresponding to the situation.

OnActivated ( ) : void

Is called after ActivateItem function.

OnActivating ( ) : bool

Is called before ActivateItem function.

OnBeforeGoBack ( ) : bool

Is called right before going ot the previous step, but after checking CanGoBack. Can be overridden to do something before changing the ActiveItem. Return false to cancel going ot the previous WizardPage

OnBeforeNext ( ) : bool

Is called right before going ot the next step, but after checking CanGoFurther. Can be overridden to do something before changing the ActiveItem. Return false to cancel going ot the next WizardPage

RaiseActivated ( WizardNavigableEventArgs e ) : void
RaiseActivating ( CancelEventArgs e ) : void
WizardPage ( WizardManager wizardManager, WizardPage next, string title = "" ) : System

This constructor specifies a next wizard. Its "IsLastStep" Property is autmatically set to false.

WizardPage ( WizardManager wizardManager, bool isLastStep, string title = "" ) : System

This constructor doesn't specify a next wizard page (you can do it directly in the WizardPage). You should therefor specify if it is the last step of the wizard or not.

Private Methods

Méthode Description
WizardPage ( WizardManager wizardManager, WizardPage next, bool isLastStep, string title = "" ) : System

Method Details

CheckCanGoBack() public méthode

Is called before going to the previous step of the wizard. Can be overridden to implement the test corresponding to the situation.
public CheckCanGoBack ( ) : bool
Résultat bool

CheckCanGoFurther() public méthode

Is called before going to the next step of the wizard. Can be overridden to implement the test corresponding to the situation.
public CheckCanGoFurther ( ) : bool
Résultat bool

OnActivated() public méthode

Is called after ActivateItem function.
public OnActivated ( ) : void
Résultat void

OnActivating() public méthode

Is called before ActivateItem function.
public OnActivating ( ) : bool
Résultat bool

OnBeforeGoBack() public méthode

Is called right before going ot the previous step, but after checking CanGoBack. Can be overridden to do something before changing the ActiveItem. Return false to cancel going ot the previous WizardPage
public OnBeforeGoBack ( ) : bool
Résultat bool

OnBeforeNext() public méthode

Is called right before going ot the next step, but after checking CanGoFurther. Can be overridden to do something before changing the ActiveItem. Return false to cancel going ot the next WizardPage
public OnBeforeNext ( ) : bool
Résultat bool

RaiseActivated() public méthode

public RaiseActivated ( WizardNavigableEventArgs e ) : void
e WizardNavigableEventArgs
Résultat void

RaiseActivating() public méthode

public RaiseActivating ( CancelEventArgs e ) : void
e CancelEventArgs
Résultat void

WizardPage() public méthode

This constructor specifies a next wizard. Its "IsLastStep" Property is autmatically set to false.
public WizardPage ( WizardManager wizardManager, WizardPage next, string title = "" ) : System
wizardManager WizardManager The WizardManager
next WizardPage The next WizardPage
title string (optional) title of the page
Résultat System

WizardPage() public méthode

This constructor doesn't specify a next wizard page (you can do it directly in the WizardPage). You should therefor specify if it is the last step of the wizard or not.
public WizardPage ( WizardManager wizardManager, bool isLastStep, string title = "" ) : System
wizardManager WizardManager The WizardManager
isLastStep bool Whether this step is the last of the wizard
title string (optional) title of the page
Résultat System

Property Details

WizardManager public_oe property

Gets the WizardManager that holds this step (this WizardPage).
public WizardManager WizardManager
Résultat WizardManager