Class SplitContainerDragger
- Namespace
- Forma
- Assembly
- Forma.dll
Visual drag handle that forwards pointer movement to a split container.
public sealed class SplitContainerDragger : Control, IAddChild<Control>, IAddChild, INotifyPropertyChanged
- Inheritance
-
SplitContainerDragger
- Implements
- Inherited Members
Constructors
SplitContainerDragger()
public SplitContainerDragger()
Properties
Target
public SplitContainer Target { get; set; }
Property Value
Methods
GetCursorAt(Point)
The whole handle is a divider, so it advertises its target's resize axis unless a host sets Cursor explicitly.
public override Cursor GetCursorAt(Point position)
Parameters
positionPoint
Returns
PointerMoved(Point)
The pointer moved over this control, in global coordinates.
protected override void PointerMoved(Point position)
Parameters
positionPoint
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
positionPoint
PointerReleased(Point, bool)
The pointer was released, with whether it was still inside this control.
protected override void PointerReleased(Point position, bool isInside)
Parameters
positionPointisInsidebool