StringLayout

public class StringLayout
Provides layout and display for string key/value pairs.

Properties

Count

#
public int Count { get; }
Gets the number of entries in this layout.

Methods

Add

#
public void Add(LayoutString entry)
Add a string to this layout.
entry (LayoutString)String entry to add.

MeasureSize

#
public SizeF MeasureSize(Font font)
Measure the extents of this text layout.
font (Font)

Render

#
public void Render(Context context, Font font, RectangleF frame, Color background)
Render this layout to a graphics context.
context (Context)Graphics context.
font (Font)Font to draw items with.
frame (RectangleF)Frame within which to render all entries.
background (Color)Background hint for text.