ClassField
Abstract base for all field implementations that calculate and produce dynamic content during field updates.
Definition
Namespace:Telerik.Windows.Documents.Flow.Model.Fields
Assembly:Telerik.Windows.Documents.Flow.dll
Syntax:
public abstract class Field
Inheritance: objectField
Derived Classes:
Constructors
Field(RadFlowDocument)
Initializes a new instance of the Field class and associates it with the specified document.
Declaration
protected Field(RadFlowDocument document)
Parameters
document
The document.
Properties
DateTimeFormatting
Gets the date-time format string applied to date and time field results when the @ switch is specified.
Declaration
public string DateTimeFormatting { get; }
Property Value
The date time formatting.
Document
Gets the document in which this field resides and from which it retrieves context during updates.
Declaration
public RadFlowDocument Document { get; }
Property Value
The document.
GeneralFormattings
Gets the collection of general formatting switches (such as capitalization and text casing) applied to field results when the * switch is specified.
NumericFormatting
Gets the numeric format string applied to numeric field results when the # switch is specified.
Declaration
public string NumericFormatting { get; }
Property Value
The numeric formatting.
Methods
EncodeParameter(string)
Encodes a parameter.
GetFormattedDate(DateTime)
Gets the formatted date.
IsSwitchWithArgumentOverride(string)
Determines whether a switch can have an argument.