In This Article

EditorViewSplitter Class

Represents a splitter that allows two IEditorView objects to be resized.

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

Constructors

EditorViewSplitter()

Initializes an instance of the EditorViewSplitter class.

public EditorViewSplitter()

Properties

IsDragging

Gets whether the splitter is being dragged by a pointer.

public bool IsDragging { get; }

Property Value

bool:

true if the splitter is being dragged by a pointer; otherwise, false.

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.

StartDrag(InputPointerButtonEventArgs)

Starts a splitter drag.

public void StartDrag(InputPointerButtonEventArgs sourceEventArgs)
Parameter Type Description
sourceEventArgs InputPointerButtonEventArgs

The source InputPointerButtonEventArgs, which can be used to capture the pointer.

Events

DragCompleted

Occurs when a drag has completed.

public event EventHandler<InputPointerEventArgs> DragCompleted

Event Type

EventHandler<InputPointerEventArgs>

DragDelta

Occurs when a drag has moved.

public event EventHandler<InputPointerEventArgs> DragDelta

Event Type

EventHandler<InputPointerEventArgs>

DragStarted

Occurs when a drag has started.

public event EventHandler<InputPointerEventArgs> DragStarted

Event Type

EventHandler<InputPointerEventArgs>

Toggled

Occurs when a double-tap toggle has occurred.

public event EventHandler Toggled

Event Type

EventHandler

Inherited Members