WizardStepItem
Class in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll
One step of a WizardSteps row: number, name, current / done, and whether it can be opened (every step before it complete). The owner calls WizardStepItem.Refresh after the step or a problem changed.
public sealed class WizardStepItem : ObservableObjectInherits ObservableObject
Constructors
Section titled “Constructors”WizardStepItem
Section titled “WizardStepItem”WizardStepItem(int index, string name, Func<int> current, Func<int, bool> canOpen, Action<int> open)One step of a WizardSteps row: number, name, current / done, and whether it can be opened (every step before it complete). The owner calls WizardStepItem.Refresh after the step or a problem changed.
Properties
Section titled “Properties”CanOpen
Section titled “CanOpen”bool CanOpen { get; }A click opens it: every step before it is complete.
int Index { get; }Position, 0-based.
IsCurrent
Section titled “IsCurrent”bool IsCurrent { get; }The step shown now.
IsDone
Section titled “IsDone”bool IsDone { get; }A step before the current one.
IsFirst
Section titled “IsFirst”bool IsFirst { get; }The first step (no line before it).
IsLater
Section titled “IsLater”bool IsLater { get; }A step after the current one.
string Name { get; }The step name (“When”).
Number
Section titled “Number”string Number { get; }The number in the dot (“2”).
OpenCommand
Section titled “OpenCommand”IRelayCommand OpenCommand { get; }Gets an IRelayCommand instance wrapping WizardStepItem.Open.
Methods
Section titled “Methods”Refresh
Section titled “Refresh”void Refresh()Updates the state after the current step or a problem changed.