Class SplitContainerMultiDragger

Namespace
Forma
Assembly
Forma.dll

Dragger capable of selecting among multiple split handles.

public sealed class SplitContainerMultiDragger : Control, IAddChild<Control>, IAddChild, INotifyPropertyChanged
Inheritance
SplitContainerMultiDragger
Implements
Inherited Members

Constructors

SplitContainerMultiDragger()

public SplitContainerMultiDragger()

Properties

ActiveIndex

public int ActiveIndex { get; set; }

Property Value

int

Targets

public IList<SplitContainer> Targets { get; }

Property Value

IList<SplitContainer>

Methods

GetCursorAt(Point)

Advertises the resize axis of the handle currently selected by ActiveIndex.

public override Cursor GetCursorAt(Point position)

Parameters

position Point

Returns

Cursor

PointerMoved(Point)

The pointer moved over this control, in global coordinates.

protected override void PointerMoved(Point position)

Parameters

position Point

PointerPressed(Point)

A pointer press landed on this control, in global coordinates.

Protected as well as internal so a control defined outside this assembly can take part in pointer input. Without that, an app hosting its own drawing surface has to read raw mouse state instead, which bypasses hit-testing, modal gating and the injection side-channel — so such a surface cannot be driven by a test at all.

protected override void PointerPressed(Point position)

Parameters

position Point

PointerReleased(Point, bool)

The pointer was released, with whether it was still inside this control.

protected override void PointerReleased(Point position, bool isInside)

Parameters

position Point
isInside bool