C# Класс 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.
Наследование: PropertyChangedBase, IWizardNavigable
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
WizardManager WizardManager

Private Properties

Свойство Тип Описание
WizardPage System

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
WizardPage ( WizardManager wizardManager, WizardPage next, bool isLastStep, string title = "" ) : System

Описание методов

CheckCanGoBack() публичный Метод

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
Результат bool

CheckCanGoFurther() публичный Метод

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
Результат bool

OnActivated() публичный Метод

Is called after ActivateItem function.
public OnActivated ( ) : void
Результат void

OnActivating() публичный Метод

Is called before ActivateItem function.
public OnActivating ( ) : bool
Результат bool

OnBeforeGoBack() публичный Метод

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
Результат bool

OnBeforeNext() публичный Метод

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
Результат bool

RaiseActivated() публичный Метод

public RaiseActivated ( WizardNavigableEventArgs e ) : void
e WizardNavigableEventArgs
Результат void

RaiseActivating() публичный Метод

public RaiseActivating ( CancelEventArgs e ) : void
e CancelEventArgs
Результат void

WizardPage() публичный Метод

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
Результат System

WizardPage() публичный Метод

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
Результат System

Описание свойств

WizardManager публичное свойство

Gets the WizardManager that holds this step (this WizardPage).
public WizardManager WizardManager
Результат WizardManager