Skip to content

VertexMovingEditInteractiveOverlayEventArgs

Namespace: ThinkGeo.Core

public class VertexMovingEditInteractiveOverlayEventArgs : System.EventArgs

Inheritance ObjectEventArgsVertexMovingEditInteractiveOverlayEventArgs

Properties

AffectedFeature

This property gets or sets the Feature to be used to move vertex.

public Feature AffectedFeature { get; set; }

Property Value

Feature

MovingVertex

This property gets or sets the vertex to be moved.

public Vertex MovingVertex { get; set; }

Property Value

Vertex

TargetVertex

Gets or sets the target vertex.

public PointShape TargetVertex { get; set; }

Property Value

PointShape

        The target vertex.

Cancel

This property gets or sets the action to be canceled or not.

public bool Cancel { get; set; }

Property Value

Boolean

Constructors

VertexMovingEditInteractiveOverlayEventArgs()

This is the default constructor of this parameter.

public VertexMovingEditInteractiveOverlayEventArgs()

Remarks:

If you use this constructor, you have to set the properties manually before use.

VertexMovingEditInteractiveOverlayEventArgs(Boolean, Feature, Vertex)

This is the commonly used constructor.

public VertexMovingEditInteractiveOverlayEventArgs(bool cancel, Feature affectedFeature, Vertex movingVertex)

Parameters

cancel Boolean
This parameter specified the cancel property.

affectedFeature Feature
This parameter specified the affectedVertex feature property.

movingVertex Vertex
This parameter specified the target vertex to be moved.

VertexMovingEditInteractiveOverlayEventArgs(Boolean, Feature, Vertex, PointShape)

Initializes a new instance of the VertexMovingEditInteractiveOverlayEventArgs class.

public VertexMovingEditInteractiveOverlayEventArgs(bool cancel, Feature affectedFeature, Vertex movingVertex, PointShape targetVertex)

Parameters

cancel Boolean
if set to true [cancel].

affectedFeature Feature
The affected vertex feature.

movingVertex Vertex
The moving vertex.

targetVertex PointShape
The target vertex.