StepCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
Owns ordered steps and observes their property changes.
- C#
- VB.NET
public class StepCollection : Collection<Step>
Public Class StepCollection
Inherits Collection(Of [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
StepCollection()
Initializes a new instance of StepCollection.
Methods
ClearItems()
Releases all steps and clears the collection.
InsertItem(index, item)
Inserts and observes a step.
RemoveItem(index)
Removes a step and releases ownership.
| Parameter | Type | Description |
|---|---|---|
| index | Int32 | Removal index. |
SetItem(index, item)
Replaces a step and transfers observation.