SummaryEntryDisplay

Base implementation for ISummaryEntryDisplay which draws the meta name and little else.

Constructors

SummaryEntryDisplay

#
Create a new display.
protected SummaryEntryDisplay(
entry,
Entry to contain.
suffixFragments
Optional text to append to the meta name.
)

Properties

Bounds

#
Gets the bounds of this container.
public Rectangle Bounds { get; }
Bounds

Entry

#
Gets the entry hostd in this container.
public ISummaryEntry Entry { get; }
Entry

Height

#
Gets the ideal height of this container for the current width.
public int Height { get; }
Height

LabelWidth

#
Gets the width of the label text.
protected int LabelWidth { get; }

Location

#
Gets or sets the location of the upper left corner of this container.
public Point Location { get; set; }
Location

Width

#
Gets or sets the width of this container.
public int Width { get; set; }
Width

Methods

ComputeHeight

#
Compute the height for a given width. The default implementation computes the height based only on the textual part of the display.
protected virtual int ComputeHeight(
width
)

Draw

#
public void Draw(
context,
Color
back,
Color
text,
Color
fill
)
Draw

Draw

#
protected abstract void Draw(
context,
Rectangle
frame,
Color
back,
Color
text,
Color
fill
)

ShowTooltip

#
public virtual bool ShowTooltip(
PointF
location
)
ShowTooltip