Class CheckBoxObject
Represents a check box object.
Inheritance
System.Object
CheckBoxObject
Assembly: FastReport.Base.dll
Syntax
public class CheckBoxObject : ReportComponentBase, IDisposable, IFRSerializable
Constructors
CheckBoxObject()
Initializes a new instance of the CheckBoxObject class with default settings.
Declaration
Properties
CheckColor
Gets or sets a color of the check symbol.
Declaration
public Color CheckColor { get; set; }
Property Value
Checked
Gets or set a value indicating whether the check box is in the checked state.
Declaration
public bool Checked { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
CheckedSymbol
Gets or sets a symbol that will be displayed when the check box is in the checked state.
Declaration
public CheckedSymbol CheckedSymbol { get; set; }
Property Value
CheckWidthRatio
Gets or sets the check symbol width ratio.
Declaration
public float CheckWidthRatio { get; set; }
Property Value
Type |
Description |
System.Single |
|
DataColumn
Gets or sets a data column name bound to this control.
Declaration
public string DataColumn { get; set; }
Property Value
Type |
Description |
System.String |
|
Remarks
Editable
Gets or sets editable for pdf export
Declaration
public bool Editable { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Expression
Gets or sets an expression that determines whether to show a check.
Declaration
public string Expression { get; set; }
Property Value
Type |
Description |
System.String |
|
HideIfUnchecked
Gets or sets a value determines whether to hide the checkbox if it is in the unchecked state.
Declaration
public bool HideIfUnchecked { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
UncheckedSymbol
Gets or sets a symbol that will be displayed when the check box is in the unchecked state.
Declaration
public UncheckedSymbol UncheckedSymbol { get; set; }
Property Value
Methods
Assign(Base)
Declaration
public override void Assign(Base source)
Parameters
Type |
Name |
Description |
Base |
source |
|
Overrides
Draw(FRPaintEventArgs)
Declaration
public override void Draw(FRPaintEventArgs e)
Parameters
Overrides
GetData()
Declaration
public override void GetData()
Overrides
GetDataAsync(CancellationToken)
Declaration
public override async Task GetDataAsync(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
GetExpressions()
Declaration
public override string[] GetExpressions()
Returns
Type |
Description |
System.String[] |
|
Overrides
Serialize(FRWriter)
Declaration
public override void Serialize(FRWriter writer)
Parameters
Overrides
Implements