Class StyleBase
Represents the base class for the report style or the highlight condition.
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FastReport
Assembly: FastReport.OpenSource.dll
Syntax
public class StyleBase : IFRSerializable
Constructors
StyleBase()
Initializes a new instance of the StyleBase class with default settings.
Declaration
public StyleBase()
Properties
ApplyBorder
Gets or sets a value determines that the border must be applied.
Declaration
public bool ApplyBorder { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ApplyFill
Gets or sets a value determines that the fill must be applied.
Declaration
public bool ApplyFill { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ApplyFont
Gets or sets a value determines that the font must be applied.
Declaration
public bool ApplyFont { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ApplyTextFill
Gets or sets a value determines that the text fill must be applied.
Declaration
public bool ApplyTextFill { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Border
Gets or sets a border.
Declaration
public Border Border { get; set; }
Property Value
Type | Description |
---|---|
Border |
Fill
Gets or sets a fill.
Declaration
public FillBase Fill { get; set; }
Property Value
Type | Description |
---|---|
FillBase |
Font
Gets or sets a font.
Declaration
public Font Font { get; set; }
Property Value
Type | Description |
---|---|
Font |
TextFill
Gets or sets a text fill.
Declaration
public FillBase TextFill { get; set; }
Property Value
Type | Description |
---|---|
FillBase |
Methods
Assign(StyleBase)
Assigns values from another source.
Declaration
public virtual void Assign(StyleBase source)
Parameters
Type | Name | Description |
---|---|---|
StyleBase | source | Source to assign from. |
Deserialize(FRReader)
Deserializes the style.
Declaration
public void Deserialize(FRReader reader)
Parameters
Type | Name | Description |
---|---|---|
FRReader | reader | Reader object. |
Remarks
This method is for internal use only.
Serialize(FRWriter)
Serializes the style.
Declaration
public virtual void Serialize(FRWriter writer)
Parameters
Type | Name | Description |
---|---|---|
FRWriter | writer | Writer object. |
Remarks
This method is for internal use only.