ValueDisplayFrame

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

Constructors

ValueDisplayFrame

#
public ValueDisplayFrame(RectangleF outer)
outer (RectangleF)

Properties

Inner

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

LeftHalf

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

LeftThird

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

MiddleThird

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

Outer

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

RightHalf

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

RightThird

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

Methods

AddDetail

#
public void AddDetail(RectangleF region, string text)
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.
region (RectangleF)Region in frame coordinates.
text (string)Detailed description.

LayoutHorizontally

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