GeoBlazor Pro
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Components
SnappingControlsElements Class
public class SnappingControlsElements : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 SnappingControlsElements
Constructors
SnappingControlsElements() Constructor
Parameterless constructor for use as a Razor Component.
public SnappingControlsElements();
SnappingControlsElements(bool, SnappingControlsElementsGridControlsElements, Nullable, Nullable, Nullable, Nullable, Nullable, Nullable, Nullable) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public SnappingControlsElements(bool enabledToggle, dymaptic.GeoBlazor.Pro.Components.SnappingControlsElementsGridControlsElements gridControlsElements, System.Nullable<bool> featureEnabledToggle=null, System.Nullable<bool> gridControls=null, System.Nullable<bool> gridEnabledToggle=null, System.Nullable<bool> header=null, System.Nullable<bool> layerList=null, System.Nullable<bool> layerListToggleLayersButton=null, System.Nullable<bool> selfEnabledToggle=null);
Parameters
enabledToggle
System.Boolean
gridControlsElements
SnappingControlsElementsGridControlsElements
featureEnabledToggle
System.Nullable<System.Boolean>
gridControls
System.Nullable<System.Boolean>
gridEnabledToggle
System.Nullable<System.Boolean>
header
System.Nullable<System.Boolean>
layerList
System.Nullable<System.Boolean>
layerListToggleLayersButton
System.Nullable<System.Boolean>
selfEnabledToggle
System.Nullable<System.Boolean>
Properties
SnappingControlsElements.EnabledToggle Property
Indicates whether to display the snapping controls’ toggle to entirely enable/disable snapping. Default value is true.
public bool EnabledToggle { get; set; }
Property Value
SnappingControlsElements.FeatureEnabledToggle Property
Indicates whether to display the snapping controls’ toggle to enable/disable Feature to feature snapping. Default is true.
public System.Nullable<bool> FeatureEnabledToggle { get; set; }
Property Value
System.Nullable<System.Boolean>
SnappingControlsElements.GridControls Property
public System.Nullable<bool> GridControls { get; set; }
Property Value
System.Nullable<System.Boolean>
SnappingControlsElements.GridControlsElements Property
public dymaptic.GeoBlazor.Pro.Components.SnappingControlsElementsGridControlsElements? GridControlsElements { get; set; }
Property Value
SnappingControlsElementsGridControlsElements
SnappingControlsElements.GridEnabledToggle Property
public System.Nullable<bool> GridEnabledToggle { get; set; }
Property Value
System.Nullable<System.Boolean>
SnappingControlsElements.Header Property
Indicates whether to display the snapping controls’ header. Default value is false.
public System.Nullable<bool> Header { get; set; }
Property Value
System.Nullable<System.Boolean>
SnappingControlsElements.LayerList Property
Indicates whether to display snapping controls’ Snapping layers. Default value is true.
public System.Nullable<bool> LayerList { get; set; }
Property Value
System.Nullable<System.Boolean>
SnappingControlsElements.LayerListToggleLayersButton Property
public System.Nullable<bool> LayerListToggleLayersButton { get; set; }
Property Value
System.Nullable<System.Boolean>
SnappingControlsElements.SelfEnabledToggle Property
Indicates whether to display the snapping controls’ toggle to enable/disable Geometry guides. Default value is true.
public System.Nullable<bool> SelfEnabledToggle { get; set; }
Property Value
System.Nullable<System.Boolean>
Methods
SnappingControlsElements.GetEnabledToggle() Method
Asynchronously retrieve the current value of the EnabledToggle property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetEnabledToggle();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SnappingControlsElements.GetFeatureEnabledToggle() Method
Asynchronously retrieve the current value of the FeatureEnabledToggle property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetFeatureEnabledToggle();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SnappingControlsElements.GetGridControls() Method
Asynchronously retrieve the current value of the GridControls property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetGridControls();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SnappingControlsElements.GetGridControlsElements() Method
Asynchronously retrieve the current value of the GridControlsElements property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Components.SnappingControlsElementsGridControlsElements?> GetGridControlsElements();
Returns
System.Threading.Tasks.Task<SnappingControlsElementsGridControlsElements>
SnappingControlsElements.GetGridEnabledToggle() Method
Asynchronously retrieve the current value of the GridEnabledToggle property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetGridEnabledToggle();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SnappingControlsElements.GetHeader() Method
Asynchronously retrieve the current value of the Header property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetHeader();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SnappingControlsElements.GetLayerList() Method
Asynchronously retrieve the current value of the LayerList property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetLayerList();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SnappingControlsElements.GetLayerListToggleLayersButton() Method
Asynchronously retrieve the current value of the LayerListToggleLayersButton property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetLayerListToggleLayersButton();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SnappingControlsElements.GetSelfEnabledToggle() Method
Asynchronously retrieve the current value of the SelfEnabledToggle property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetSelfEnabledToggle();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SnappingControlsElements.SetEnabledToggle(bool) Method
Asynchronously set the value of the EnabledToggle property after render.
public System.Threading.Tasks.Task SetEnabledToggle(bool value);
Parameters
value
System.Boolean
The value to set.
Returns
SnappingControlsElements.SetFeatureEnabledToggle(Nullable) Method
Asynchronously set the value of the FeatureEnabledToggle property after render.
public System.Threading.Tasks.Task SetFeatureEnabledToggle(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
SnappingControlsElements.SetGridControls(Nullable) Method
Asynchronously set the value of the GridControls property after render.
public System.Threading.Tasks.Task SetGridControls(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
SnappingControlsElements.SetGridControlsElements(SnappingControlsElementsGridControlsElements) Method
Asynchronously set the value of the GridControlsElements property after render.
public System.Threading.Tasks.Task SetGridControlsElements(dymaptic.GeoBlazor.Pro.Components.SnappingControlsElementsGridControlsElements value);
Parameters
value
SnappingControlsElementsGridControlsElements
The value to set.
Returns
SnappingControlsElements.SetGridEnabledToggle(Nullable) Method
Asynchronously set the value of the GridEnabledToggle property after render.
public System.Threading.Tasks.Task SetGridEnabledToggle(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
SnappingControlsElements.SetHeader(Nullable) Method
Asynchronously set the value of the Header property after render.
public System.Threading.Tasks.Task SetHeader(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
SnappingControlsElements.SetLayerList(Nullable) Method
Asynchronously set the value of the LayerList property after render.
public System.Threading.Tasks.Task SetLayerList(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
SnappingControlsElements.SetLayerListToggleLayersButton(Nullable) Method
Asynchronously set the value of the LayerListToggleLayersButton property after render.
public System.Threading.Tasks.Task SetLayerListToggleLayersButton(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
SnappingControlsElements.SetSelfEnabledToggle(Nullable) Method
Asynchronously set the value of the SelfEnabledToggle property after render.
public System.Threading.Tasks.Task SetSelfEnabledToggle(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
SnappingControlsElements.ValidateRequiredGeneratedChildren() Method
Validates source-generated child components.
public override void ValidateRequiredGeneratedChildren();
Implements ValidateRequiredGeneratedChildren()