GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Events

SketchCreateEvent Class

Event result type for the SketchWidget.OnCreate event.

public record SketchCreateEvent : System.IEquatable<dymaptic.GeoBlazor.Pro.Events.SketchCreateEvent>

Inheritance System.Object 🡒 SketchCreateEvent

Implements System.IEquatable<SketchCreateEvent>

Constructors

SketchCreateEvent(Graphic, Nullable, Nullable, ICreateToolEventInfo) Constructor

Event result type for the SketchWidget.OnCreate event.

public SketchCreateEvent(dymaptic.GeoBlazor.Core.Components.Graphic? Graphic=null, System.Nullable<dymaptic.GeoBlazor.Pro.Enums.SketchEventState> State=null, System.Nullable<dymaptic.GeoBlazor.Pro.Enums.SketchTool> Tool=null, dymaptic.GeoBlazor.Core.Interfaces.ICreateToolEventInfo? ToolEventInfo=null);

Parameters

Graphic Graphic

State System.Nullable<SketchEventState>

Tool System.Nullable<SketchTool>

ToolEventInfo ICreateToolEventInfo

Properties

SketchCreateEvent.Graphic Property

public dymaptic.GeoBlazor.Core.Components.Graphic? Graphic { get; init; }

Property Value

Graphic

SketchCreateEvent.State Property

public System.Nullable<dymaptic.GeoBlazor.Pro.Enums.SketchEventState> State { get; init; }

Property Value

System.Nullable<SketchEventState>

SketchCreateEvent.Tool Property

public System.Nullable<dymaptic.GeoBlazor.Pro.Enums.SketchTool> Tool { get; init; }

Property Value

System.Nullable<SketchTool>

SketchCreateEvent.ToolEventInfo Property

public dymaptic.GeoBlazor.Core.Interfaces.ICreateToolEventInfo? ToolEventInfo { get; init; }

Property Value

ICreateToolEventInfo