In This Article

EditorViewSelectionGripper Class

Represents a gripper that can be dragged to extend the selection via touch interaction.

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

Constructors

EditorViewSelectionGripper()

Initializes a new instance of the EditorViewSelectionGripper class.

public EditorViewSelectionGripper()

Properties

IsForSelectionEnd

Gets whether the gripper is for the selection end.

public bool IsForSelectionEnd { get; }

Property Value

bool:

true if the gripper is for the selection end; otherwise, false. The default value is true.

Padding

Gets or sets the padding.

public Padding Padding { get; set; }

Property Value

Padding:

The padding.

Visibility

Gets the element's visibility.

public Visibility Visibility { get; }

Property Value

Visibility:

A Visibility that specifies the element's visibility.

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