Skip to main content
Version: 4.2

ApprovalStepCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.2.0.0)

Owns ordered steps and observes their property changes.

public class ApprovalStepCollection : Collection<ApprovalStep>

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

Example:

trail.Steps.Add(new ApprovalStep { Text = "Account" });
trail.Steps.Add(new ApprovalStep { Text = "Review" });

Constructors​

Instance member ApprovalStepCollection()​

Initializes a new instance of ApprovalStepCollection.

Methods​

Protected member ClearItems()​

Releases all steps and clears the collection.

Protected member InsertItem(index, item)​

Inserts and observes a step.

ParameterTypeDescription
indexInt32Insertion index.
itemApprovalStepAn 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.
itemApprovalStepAn unowned step.