[]
        
(Showing Draft Content)

C1.WPF.Report.FieldBase

FieldBase Class

Abstract base class for all C1FlexReport field types.

Implements
Namespace: C1.WPF.Report
Assembly: C1.WPF.Report.dll
Syntax
public abstract class FieldBase : VisualReportObject, ICloneable

Constructors

Name Description
FieldBase()

Initializes a new instance of the FieldBase class.

Properties

Name Description
ActualRightToLeft

Gets the actual right-to-left value that is being used. If the field's own RightToLeft is not null, that value is returned. Otherwise the ActualRightToLeft defined on the report is returned.

Anchor

Gets or sets a value determining how the field's vertical position changes relative to its containing SubSection.

AutoHeight

Gets or sets a value determining how height of object changes depending on its content.

AutoWidth

Gets or sets a value determining how width of object changes depending on its content.

Bottom

Gets the y-coordinate of the field's bottom edge in twips.

Bounds

Gets or sets bounds of this FieldBase object.

ForcePageBreak

Gets or sets a value determining whether to insert page breaks before or after the field.

Height

Gets or sets the height of the field in twips.

Gets the hyperlink associated with the current field.

KeepTogether

Specifies whether the field should be kept together on a page.

Left

Gets or sets the X coordinate of the field's left edge in twips.

MarginBottom

Gets or sets the spacing between the bottom edge of the field and its content, in twips.

MarginLeft

Gets or sets the spacing between the left edge of the field and its content, in twips.

MarginRight

Gets or sets the spacing between the right edge of the field and its content, in twips.

MarginTop

Gets or sets the spacing between the top edge of the field and its content, in twips.

Name

Gets or sets the field name.

ParentReport

Gets the FlexReport containing this field.

RenderHeight

Gets the actual height of the current field. This property can only be used while the report is being rendered, otherwise it returns -1.

RenderLeft

Gets the actual left position of the current field in its subsection. This property can only be used while the report is being rendered, otherwise it returns -1.

RenderTop

Gets the actual top position of the current field in its subsection. This property can only be used while the report is being rendered, otherwise it returns -1.

RenderWidth

Gets the actual width of the current field. This property can only be used while the report is being rendered, otherwise it returns -1.

Right

Gets the x-coordinate of the field's right edge in twips.

RightToLeft

Gets or sets a value indicating whether right-to-left text rendering rules should be used. If null (which is the default), the property RightToLeft defined on the report is used.

Section

Gets or sets the section to which the field belongs.

SplitHorzBehavior

Gets or sets a value determining how the object is treated when it is too wide to fit in the horizontal space available on the current page.

SplitVertBehavior

Gets or sets a value determining how the object is treated when it is too high to fit in the vertical space available on the current page.

SubSection

Gets the SubSection object containing this field.

SubSectionIndex

Gets or sets the index of the SubSection in Section to which the field belongs.

Top

Gets or sets the Y coordinate of the field's top edge in twips.

Visible

Gets or sets a value indicating whether the field is visible or hidden.

Width

Gets or sets the width of the field in twips.

ZOrder

Gets or sets the ZOrder of the field.

Methods

Name Description
AssignFrom(FieldBase)

Assigns (copies) properties from another FieldBase to the current object.

AssignFrom(ReportObject, bool)

Copies properties from another object into this object.

Clone()

Creates a new object that is a copy of the current FieldBase object.

OnPropertyChanged()

Marks the owner report as dirty so it will clear the internal cache and render again.

OnSerializeAdded()

Post action after the field is added to the parent report's fields colleciton.

SetZOrder(bool)

Brings a field to the front or sends it to the back of the ZOrder.