[]
        
(Showing Draft Content)

C1.Report.CheckBoxField

CheckBoxField Class

Represents a checkbox field in a report.

Namespace: C1.Report
Assembly: C1.FlexReport.dll
Syntax
public class CheckBoxField : TextFieldBase, IScriptContextProvider, ICloneable

Constructors

Name Description
CheckBoxField()

Initialize a new instance of the CheckBoxField class.

Properties

Name Description
CheckAlign

Gets or sets the horizntal and vertical alignment of the check mark within the field area.

CheckMark

Gets the CheckMark object that determines the look of the check mark.

Text

Gets or sets a ScriptStringValue yielding the text shown in the field. Gets or sets the field's text.

ThreeState

Gets or sets a value indicating whether the checkbox will allow three check states rather than two.

Value

Gets or sets a ScriptObjectValue yielding the checked value of the checkbox.

Methods

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.

BeforeRender()

Called where report rendering starts. Can be used to initialize object before rendering.

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.

GetDefSplitHorzBehavior()
GetDefSplitVertBehavior()
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)
ResetCheckMark()

Restore the CheckMark properties to their default values.

ResetState()

Called when C1FlexReport starts calculation of the section containing this FieldBase. Resets internal state of the field.

ResetStyle()
ResetText()

Restore the CheckBoxField properties to their default values.