GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Events

SketchViewModelDeleteEvent Class

Event result type for the SketchViewModel.OnDelete event.

public class SketchViewModelDeleteEvent :
System.IEquatable<dymaptic.GeoBlazor.Pro.Events.SketchViewModelDeleteEvent>

Inheritance System.Object 🡒 SketchViewModelDeleteEvent

Implements System.IEquatable<SketchViewModelDeleteEvent>

Constructors

SketchViewModelDeleteEvent(IReadOnlyCollection, Nullable) Constructor

Event result type for the SketchViewModel.OnDelete event.

public SketchViewModelDeleteEvent(System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Components.Graphic>? Graphics=null, System.Nullable<dymaptic.GeoBlazor.Pro.Enums.SketchTool> Tool=null);

Parameters

Graphics System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Components.Graphic>

An array of deleted graphics.

Tool System.Nullable<SketchTool>

Name of the tool that was active when graphics are deleted.

Properties

SketchViewModelDeleteEvent.Graphics Property

An array of deleted graphics.

public System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Components.Graphic>? Graphics { get; set; }

Property Value

System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Components.Graphic>

SketchViewModelDeleteEvent.Tool Property

Name of the tool that was active when graphics are deleted.

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

Property Value

System.Nullable<SketchTool>