GeoBlazor Pro
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Components
SwipeVisibleElements Class
The visible elements that are displayed within the widget.
ArcGIS Maps SDK for JavaScript
public class SwipeVisibleElements : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 dymaptic.GeoBlazor.Core.Components.MapComponent 🡒 SwipeVisibleElements
Constructors
SwipeVisibleElements() Constructor
Parameterless constructor for use as a Razor Component.
public SwipeVisibleElements();
SwipeVisibleElements(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 SwipeVisibleElements(System.Nullable<bool> divider=null, System.Nullable<bool> handle=null);
Parameters
divider
System.Nullable<System.Boolean>
Indicates whether the divider between the leading and trailing layers is visible.
ArcGIS Maps SDK for JavaScript
handle
System.Nullable<System.Boolean>
Indicates whether the handle from which you drag the widget is visible.
ArcGIS Maps SDK for JavaScript
Properties
SwipeVisibleElements.Divider Property
Indicates whether the divider between the leading and trailing layers is visible.
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> Divider { get; set; }
Property Value
System.Nullable<System.Boolean>
SwipeVisibleElements.Handle Property
Indicates whether the handle from which you drag the widget is visible.
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> Handle { get; set; }
Property Value
System.Nullable<System.Boolean>
Methods
SwipeVisibleElements.GetDivider() Method
Asynchronously retrieve the current value of the Divider property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetDivider();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SwipeVisibleElements.GetHandle() Method
Asynchronously retrieve the current value of the Handle property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetHandle();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SwipeVisibleElements.SetDivider(Nullable) Method
Asynchronously set the value of the Divider property after render.
public System.Threading.Tasks.Task SetDivider(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
SwipeVisibleElements.SetHandle(Nullable) Method
Asynchronously set the value of the Handle property after render.
public System.Threading.Tasks.Task SetHandle(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.