Table of Contents

Class ExpressionHighlight

Namespace: FastReport.Olap.Highlight
Assembly: FastCube.Mono.dll

Hightlight with expression.

public class ExpressionHighlight : GraphicHighlight

Inheritance

objectCustomHighlightGraphicHighlightExpressionHighlight

Inherited Members

GraphicHighlight.Style, GraphicHighlight.Assign(CustomHighlight), GraphicHighlight.DrawExample(Graphics, Rectangle), GraphicHighlight.DrawValue(Graphics, Rectangle, MeasureCell, ref bool, ref bool), GraphicHighlight.GetStyleFor(MeasureCell), GraphicHighlight.Load(XmlItem), GraphicHighlight.Save(XmlItem), GraphicHighlight.StyleChanged(object, EventArgs), CustomHighlight.owner, CustomHighlight.Changed, CustomHighlight.ApplyTo, CustomHighlight.Caption, CustomHighlight.HideValue, CustomHighlight.Index, CustomHighlight.IsCustomDrawn, CustomHighlight.Owner, CustomHighlight.ScanDirection, CustomHighlight.AcceptCell(MeasureCell), CustomHighlight.Assign(CustomHighlight), CustomHighlight.BeginUpdate(), CustomHighlight.EndUpdate(), CustomHighlight.GetExpressions(), CustomHighlight.Load(XmlItem), CustomHighlight.Save(XmlItem), CustomHighlight.DoChange()

Constructors

ExpressionHighlight(CustomHighlights)

Creates a new instance.

public ExpressionHighlight(CustomHighlights owner)

Parameters

owner CustomHighlights

Properties

Caption

Caption for highlight editor

public override string Caption { get; }

Property Value

string

Expression

Gets or sets expression.

public string Expression { get; set; }

Property Value

string

Methods

AcceptCell(MeasureCell)

Test whether value passes highlight condition

public override bool AcceptCell(MeasureCell cell)

Parameters

cell MeasureCell

cell to test

Returns

bool

True - acceps, False - skips

Assign(CustomHighlight)

Copy settings from source highlight

public override void Assign(CustomHighlight source)

Parameters

source CustomHighlight

Source to copy from

GetExpressions()

Gets all expressions contained in the object.

public override Expression[] GetExpressions()

Returns

Expression[]

Array of expressions or null if object contains no expressions.

Remarks

Do not call this method directly.

This method is called by FastCube each time before building a slice. FastCube do this to collect all expressions and compile them.

Load(XmlItem)

Load from XML

public override void Load(XmlItem item)

Parameters

item XmlItem

XML Item

Save(XmlItem)

Save to XML

public override void Save(XmlItem item)

Parameters

item XmlItem

XML Item

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.