DiffField
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
Describes one named field and its presentation in a DiffViewer.
- C#
- VB.NET
public class DiffField
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
DiffField()
Initializes a new instance of DiffField.
Properties
AllowRevert
Boolean: Gets or sets whether this field permits revert requests when the viewer enables them. (Default: True)
Format
String: Gets or sets the composite format, such as {0:C0}, applied using the current culture. (Default: "")
Name
String: Gets or sets the exact, case-sensitive property or dictionary key. An empty name is omitted. (Default: "")
Text
String: Gets or sets the displayed field label. Empty uses Name. (Default: "")