GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components.Widgets

EditorWidgetVisibleElements 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 EditorWidgetVisibleElements : dymaptic.GeoBlazor.Core.Components.MapComponent

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

Properties

EditorWidgetVisibleElements.SketchTooltipControls Property

Indicates whether to display tooltips while sketching. Default value is true.

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

Property Value

System.Nullable<System.Boolean>

EditorWidgetVisibleElements.SnappingControls Property

Indicates whether snapping controls will be displayed. Default value is true.

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

Property Value

System.Nullable<System.Boolean>

EditorWidgetVisibleElements.SnappingControlsElement Property

The elements contained within the snapping controls.

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

Property Value

SnappingControlsElement

Methods

EditorWidgetVisibleElements.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.

EditorWidgetVisibleElements.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.