[]
Represents a field containing a uniformly formatted databound or static text.
public class TextField : TextFieldBase, IScriptContextProvider, ICloneable
| Name | Description |
|---|---|
| TextField() | Initialize a new instance of the TextField class. |
| TextField(string) | Initializes a new instance of the TextField class. |
| TextField(string, string) | Initializes a new instance of the TextField class. |
| TextField(string, string, double, double, double, double) | Initializes a new instance of the TextField class. |
| Name | Description |
|---|---|
| Format | Gets or sets a string used to format the field value. |
| Text | Gets or sets a ScriptObjectValue yielding the text of the field. |
| Name | Description |
|---|---|
| AfterRender() | Called where report rendering finish. Can be used to finalize object after rendering. |
| AssignFrom(ReportObject, bool) | Copies properties from another object into this object. |
| CreateSame() | Creates instance of the same type as current object. |
| GetContentAutoHeight(double) | Override this method to calculate the height of object on basis of its content, this method is called when field can grow or shrink vertically. |
| GetContentAutoSize(out double, out double) | Override this method to calculate sizes of object on basis of its content, this method is called when field can grow or shrink vertically and horizontally. |
| GetContentAutoWidth(double) | Override this method to calculate the width of object on basis of its content, this method is called when field can grow or shrink horizontally. |
| GetPropsTable() | |
| GetText() | Gets all drawing text from this field. |
| InternalBuildBrick(SubSectionBrick) | This method should be overriden in descendant classes like Field, BarCodeField, ChartField and so on. |
| InternalRefreshBrick(FieldBrickBase) | |
| PrecalculateValues() | Called by rendering engine to precalculate field's value in the footer sections: report footer, group footers. |
| ResetState() | Called when C1FlexReport starts calculation of the section containing this FieldBase. Resets internal state of the field. |