Class WizardPageSelector
Represents a Selector to select the next or previous WizardPage within a Wizard.
Inheritance
Implements
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public class WizardPageSelector : Selector, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IContainItemStorage, IAddChild
Remarks
See Wizard for remarks a code examples.
Constructors
View SourceWizardPageSelector()
Initializes a new instance of the WizardPageSelector class.
Declaration
public WizardPageSelector()
Fields
View SourceCurrentStepProperty
The DependencyProperty for the CurrentStep property.
Declaration
public static readonly DependencyProperty CurrentStepProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
MaxStepsProperty
The DependencyProperty for the MaxSteps property.
Declaration
public static readonly DependencyProperty MaxStepsProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
Properties
View SourceCurrentStep
Gets the number of the current step.
Declaration
public int CurrentStep { get; }
Property Value
| Type | Description |
|---|---|
| int |
MaxSteps
Gets the number of the max steps.
Declaration
public int MaxSteps { get; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
View SourceBack()
Selects the previous item (page). No action if the first page is selected.
Declaration
public void Back()
Next()
Selects the next item (page). Selects the first item if the currently selected item is null. No action if the last item is selected.
Declaration
public void Next()
OnInitialized(EventArgs)
Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| EventArgs | e | The RoutedEventArgs that contains the event data. |
Overrides
View SourceOnItemsChanged(NotifyCollectionChangedEventArgs)
Updates the current selection when an item in the Selector has changed
Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| NotifyCollectionChangedEventArgs | e | The event data. |
Overrides
View SourceOnItemsSourceChanged(IEnumerable, IEnumerable)
Called when the source of an item in a selector changes.
Declaration
protected override void OnItemsSourceChanged(IEnumerable oldValue, IEnumerable newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable | oldValue | Old value of the source. |
| IEnumerable | newValue | New value of the source. |