Skip to main content
Version: 4.2

DiffField

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.2.0.0)

Describes one named field and its presentation in a DiffViewer.

public class DiffField
  • Name Gets or sets the exact, case-sensitive property or dictionary key. An empty name is omitted.
  • Text Gets or sets the displayed field label. Empty uses Name.
  • Format Gets or sets the composite format, such as {0:C0}, applied using the current culture.

Example:

viewer.Fields.Add(new DiffField { Name = "Amount", Text = "Value", Format = "{0:C0}" });

Constructors​

Instance member DiffField()​

Initializes a new instance of DiffField.

Properties​

Instance member AllowRevert​

Boolean: Gets or sets whether this field permits revert requests when the viewer enables them. (Default: True)

Instance member Format​

String: Gets or sets the composite format, such as {0:C0}, applied using the current culture. (Default: "")

Instance member Name​

String: Gets or sets the exact, case-sensitive property or dictionary key. An empty name is omitted. (Default: "")

Instance member Text​

String: Gets or sets the displayed field label. Empty uses Name. (Default: "")