Skip to main content
Version: 4.2

StepCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.2.0.0)

Owns ordered steps and observes their property changes.

public class StepCollection : Collection<Step>

A step belongs to one collection. Removing it releases ownership.

Example:

stepper.Steps.Add(new Step { Text = "Account" });
stepper.Steps.Add(new Step { Text = "Review" });
stepper.ActiveIndex = 0;

Constructors​

Instance member StepCollection()​

Initializes a new instance of StepCollection.

Methods​

Protected member ClearItems()​

Releases all steps and clears the collection.

Protected member InsertItem(index, item)​

Inserts and observes a step.

ParameterTypeDescription
indexInt32Insertion index.
itemStepAn unowned step.

Protected member RemoveItem(index)​

Removes a step and releases ownership.

ParameterTypeDescription
indexInt32Removal index.

Protected member SetItem(index, item)​

Replaces a step and transfers observation.

ParameterTypeDescription
indexInt32Replacement index.
itemStepAn unowned step.