Skip to main content
Version: 4.2

ApprovalStep

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.2.0.0)

Describes a participant and recorded decision in an approval workflow.

public class ApprovalStep : INotifyPropertyChanged

A step belongs to one collection. Image instances remain owned by the application. Date is optional and displayed in the current server culture without time-zone conversion.

Example:

trail.Steps.Add(new ApprovalStep { Text = "Leila Costa", State = ApprovalState.Pending });

Constructors​

Instance member ApprovalStep()​

Initializes a new instance of ApprovalStep.

Properties​

Instance member Comment​

String: Gets or sets a plain-text comment. Markup is displayed literally. (Default: "")

Instance member Date​

Nullable<DateTime>: Gets or sets the recorded decision or pending date, displayed without time-zone conversion. (Default: null)

Instance member Image​

Image: Gets or sets the portrait. The application retains ownership of the image. (Default: null)

Instance member State​

ApprovalState: Gets or sets the workflow state. Changing it never advances another step. (Default: Waiting)

Instance member SubText​

String: Gets or sets optional plain-text participant details. (Default: "")

Instance member Text​

String: Gets or sets the participant name as plain text. (Default: "")

Events​

Instance member PropertyChanged​

PropertyChangedEventHandler Occurs when a step property changes.