Search Results for

    Show / Hide Table of Contents

    Class HighlightCondition

    Represents a single highlight condition used by the Highlight property of the TextObject.

    Inheritance
    System.Object
    StyleBase
    HighlightCondition
    Implements
    IFRSerializable
    Inherited Members
    StyleBase.ApplyBorder
    StyleBase.ApplyFill
    StyleBase.ApplyFont
    StyleBase.ApplyTextFill
    StyleBase.Border
    StyleBase.Fill
    StyleBase.Font
    StyleBase.TextFill
    StyleBase.Deserialize(FRReader)
    Namespace: FastReport
    Assembly: FastReport.Base.dll
    Syntax
    public class HighlightCondition : StyleBase, IFRSerializable

    Constructors

    HighlightCondition()

    Initializes a new instance of the HighlightCondition class with default settings.

    Declaration
    public HighlightCondition()

    Properties

    Expression

    Gets or sets a highlight expression.

    Declaration
    public string Expression { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    This property can contain any valid boolean expression. If value of this expression is true, the fill and font settings will be applied to the TextObject.

    Visible

    Gets or sets the visibility flag.

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    If this property is set to false, the Text object will be hidden if the condition is met.

    Methods

    Assign(StyleBase)

    Assigns values from another source.

    Declaration
    public override void Assign(StyleBase source)
    Parameters
    Type Name Description
    StyleBase source

    Source to assign from.

    Overrides
    StyleBase.Assign(StyleBase)

    Clone()

    Creates exact copy of this condition.

    Declaration
    public HighlightCondition Clone()
    Returns
    Type Description
    HighlightCondition

    A copy of this condition.

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    Serialize(FRWriter)

    Serializes the style.

    Declaration
    public override void Serialize(FRWriter writer)
    Parameters
    Type Name Description
    FRWriter writer

    Writer object.

    Overrides
    StyleBase.Serialize(FRWriter)
    Remarks

    This method is for internal use only.

    Implements

    IFRSerializable
    Back to top © 1998-2025 Copyright Fast Reports Inc.