ApprovalStep
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
Describes a participant and recorded decision in an approval workflow.
- C#
- VB.NET
public class ApprovalStep : INotifyPropertyChanged
Public Class ApprovalStep
Inherits 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
ApprovalStep()
Initializes a new instance of ApprovalStep.
Properties
Comment
String: Gets or sets a plain-text comment. Markup is displayed literally. (Default: "")
Date
Nullable<DateTime>: Gets or sets the recorded decision or pending date, displayed without time-zone conversion. (Default: null)
Image
Image: Gets or sets the portrait. The application retains ownership of the image. (Default: null)
State
ApprovalState: Gets or sets the workflow state. Changing it never advances another step. (Default: Waiting)
SubText
String: Gets or sets optional plain-text participant details. (Default: "")
Text
String: Gets or sets the participant name as plain text. (Default: "")
Events
PropertyChanged
PropertyChangedEventHandler Occurs when a step property changes.