GeoBlazor Pro


layout: pro title: SketchEvent parent: Pro Classes grand_parent: GeoBlazor Pro —

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Model

SketchEvent Class

The SketchEvent class is used to represent the event object passed to the event handlers for the SketchWidget.

public class SketchEvent

Inheritance System.Object 🡒 SketchEvent

Properties

SketchEvent.EventType Property

The type of event.

public System.Nullable<dymaptic.GeoBlazor.Pro.Model.EventType> EventType { get; set; }

Property Value

System.Nullable<EventType>

SketchEvent.Graphics Property

The graphic that is being created or updated.

public dymaptic.GeoBlazor.Core.Components.Layers.Graphic[] Graphics { get; set; }

Property Value

dymaptic.GeoBlazor.Core.Components.Layers.Graphic[]

SketchEvent.State Property

The current state of the event.

public System.Nullable<dymaptic.GeoBlazor.Pro.Model.EventState> State { get; set; }

Property Value

System.Nullable<EventState>

SketchEvent.Tool Property

Name of the current tool.

public System.Nullable<dymaptic.GeoBlazor.Pro.Model.EventTool> Tool { get; set; }

Property Value

System.Nullable<EventTool>

SketchEvent.ToolEventInfo Property

Returns additional information associated with the operation such as where the user is clicking the view or where the user is moving the cursor to. Value of this parameter changes to null when the event’s state changes to complete or cancel.

public dymaptic.GeoBlazor.Pro.Model.ToolEventInfo? ToolEventInfo { get; set; }

Property Value

ToolEventInfo