GeoBlazor Pro
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Events
SketchEvent Class
The SketchEvent class is used to represent the event object passed to the event handlers for the SketchWidget.
public class SketchEvent :
System.IEquatable<dymaptic.GeoBlazor.Pro.Events.SketchEvent>
Inheritance System.Object 🡒 SketchEvent
Implements System.IEquatable<SketchEvent>
Constructors
SketchEvent() Constructor
public SketchEvent();
Properties
SketchEvent.EventType Property
The type of event.
public System.Nullable<dymaptic.GeoBlazor.Pro.Enums.SketchEventType> EventType { get; set; }
Property Value
System.Nullable<SketchEventType>
SketchEvent.Graphics Property
The graphic that is being created or updated.
public dymaptic.GeoBlazor.Core.Components.Graphic[] Graphics { get; set; }
Property Value
dymaptic.GeoBlazor.Core.Components.Graphic[]
SketchEvent.State Property
The current state of the event.
public System.Nullable<dymaptic.GeoBlazor.Pro.Enums.SketchEventState> State { get; set; }
Property Value
System.Nullable<SketchEventState>
SketchEvent.Tool Property
Name of the current tool.
public System.Nullable<dymaptic.GeoBlazor.Pro.Enums.SketchEventTool> Tool { get; set; }
Property Value
System.Nullable<SketchEventTool>
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.Events.ToolEventInfo? ToolEventInfo { get; set; }