ValueDisplayFrame

References
public sealed class ValueDisplayFrame
A collection of layout frames for drawing data proxies.

Constructors

ValueDisplayFrame

#
public ValueDisplayFrame(
RectangleF
outer
)

Properties

Inner

#
The inner frame representing the area in which content should be drawn.
public RectangleF Inner { get; }

LeftHalf

#
The left half of the inner frame.
public RectangleF LeftHalf { get; }

LeftThird

#
The left third of the inner frame.
public RectangleF LeftThird { get; }

MiddleThird

#
The middle third of the inner frame.
public RectangleF MiddleThird { get; }

Outer

#
The outer frame representing the boundaries of the proxy as a whole.
public RectangleF Outer { get; }

RightHalf

#
The right half of the inner frame.
public RectangleF RightHalf { get; }

RightThird

#
The right third of the inner frame.
public RectangleF RightThird { get; }

Methods

AddDetail

#
Register a region within this frame which offers a more detailed textual description of (part of) the displayed value. The host may show this description when the cursor hovers over the region.
public void AddDetail(
RectangleF
region,
Region in frame coordinates.
text
Detailed description.
)

LayoutHorizontally

#
Layout two rectangles inside the inner frame. They will be vertically centre aligned.
public void LayoutHorizontally(
SizeF
size0,
Size of first rectangle.
SizeF
size1,
Size of second rectangle.
out RectangleF
frame0,
First rectangle (left aligned against inner frame).
out RectangleF
frame1
Second rectangle (right aligned against inner frame, but not overlapping with left rectangle).
)