Table of Contents

Class TopHighlight

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

Top highlight.

public class TopHighlight : GraphicHighlight

Inheritance

objectCustomHighlightGraphicHighlightTopHighlight

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

TopHighlight(CustomHighlights)

Creates a new instance.

public TopHighlight(CustomHighlights owner)

Parameters

owner CustomHighlights

Properties

Caption

Caption for highlight editor

public override string Caption { get; }

Property Value

string

TopCount

Gets or sets value calculation helper.

public int TopCount { get; set; }

Property Value

int

TopPercent

Gets or sets value calculation helper.

public bool TopPercent { get; set; }

Property Value

bool

TopType

Gets or sets top type.

public TopType TopType { get; set; }

Property Value

TopType

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

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.