In This Article

CollapsedRegionAdornment Class

Represents a default implementation of a collapsed region adornment.

public class CollapsedRegionAdornment : UIElement, IInputElement, IUIElement, ILogicalTreeNode, IDpiAwareElement, IDisposable
Inheritance:
object MarshalByRefObject DisposableObject LogicalTreeNodeBase UIElement object
Implements:
IInputElement IUIElement ILogicalTreeNode IDpiAwareElement IDisposable

Methods

GetCursor(Point)

Gets the Cursor that should be used when the mouse is over the element at the specified Point.

public override Cursor GetCursor(Point point)
Parameter Type Description
point Point

The Point to examine.

Returns

Cursor:

The Cursor that should be used when the mouse is over the element at the specified Point.

MeasureOverride(Graphics, Size)

Measures the size required for the element and its child elements.

protected override Size MeasureOverride(Graphics g, Size availableSize)
Parameter Type Description
g Graphics

The Graphics to use for measurement.

availableSize Size

The available size.

Returns

Size:

The desired size.

OnRender(PaintEventArgs)

Occurs when rendering the control.

protected override void OnRender(PaintEventArgs e)
Parameter Type Description
e PaintEventArgs

The PaintEventArgs that contains data related to this event.

Inherited Members