GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components.Widgets

SketchWidgetVisibleElements Class

The visible elements that are displayed within the widget. This provides the ability to turn individual elements of the widget’s display on/off.
ArcGIS JS API

public class SketchWidgetVisibleElements : dymaptic.GeoBlazor.Core.Components.MapComponent

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 dymaptic.GeoBlazor.Core.Components.MapComponent 🡒 SketchWidgetVisibleElements

Properties

SketchWidgetVisibleElements.CreateTools Property

The available sketch tools within the widget.

public dymaptic.GeoBlazor.Pro.Components.Widgets.CreateTools? CreateTools { get; set; }

Property Value

CreateTools

SketchWidgetVisibleElements.DuplicateButton Property

Indicates whether to display the ‘duplicate’ button while a graphic is selected. Default is true.

public System.Nullable<bool> DuplicateButton { get; set; }

Property Value

System.Nullable<System.Boolean>

SketchWidgetVisibleElements.SelectionTools Property

The available selection tools within the widget.

public dymaptic.GeoBlazor.Pro.Components.Widgets.SelectionTools? SelectionTools { get; set; }

Property Value

SelectionTools

SketchWidgetVisibleElements.SettingsMenu Property

Indicates whether to display the settings menu. Currently this menu contains snapping options. Default value is true.

public System.Nullable<bool> SettingsMenu { get; set; }

Property Value

System.Nullable<System.Boolean>

SketchWidgetVisibleElements.SnappingControls Property

Indicates whether to display the SnappingControls widget. Default is true.

public System.Nullable<bool> SnappingControls { get; set; }

Property Value

System.Nullable<System.Boolean>

SketchWidgetVisibleElements.SnappingControlsElements Property

The available SnappingControls elements within the widget.

public dymaptic.GeoBlazor.Pro.Components.Widgets.SnappingControlsElement? SnappingControlsElements { get; set; }

Property Value

SnappingControlsElement

SketchWidgetVisibleElements.UndoRedoMenu Property

Indicates whether to display the undo/redo menu within the widget. Default is true.

public System.Nullable<bool> UndoRedoMenu { get; set; }

Property Value

System.Nullable<System.Boolean>

Methods

SketchWidgetVisibleElements.RegisterChildComponent(MapComponent) Method

Called from dymaptic.GeoBlazor.Core.Components.MapComponent.OnInitializedAsync to “Register” the current component with it’s parent.

public override System.Threading.Tasks.Task RegisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);

Parameters

child dymaptic.GeoBlazor.Core.Components.MapComponent

The calling, child component to register

Returns

System.Threading.Tasks.Task

Exceptions

dymaptic.GeoBlazor.Core.Exceptions.InvalidChildElementException
Throws if the current child is not a valid sub-component to the parent.

Remarks

This method is an implementation detail and should not be called directly by consumers. In future versions, this may be changed to an internal method. If you see no other way to register a child component, please open an issue on GitHub.

SketchWidgetVisibleElements.UnregisterChildComponent(MapComponent) Method

Undoes the “Registration” of a child with its parent.

public override System.Threading.Tasks.Task UnregisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);

Parameters

child dymaptic.GeoBlazor.Core.Components.MapComponent

The child to unregister

Returns

System.Threading.Tasks.Task

Remarks

This method is an implementation detail and should not be called directly by consumers. In future versions, this may be changed to an internal method.