Property UserInput
UserInput
Gets or sets the geometry of the click or tap location that invoked the popup.
Declaration
public Geometry UserInput { get; set; }Property Value
| Type | Description | 
|---|---|
| Geometry | The geometry of the click or tap location that invoked the popup. | 
Remarks
If Popup expressions reference the variable $userInput, the variable will be replaced by the UserInput value.
Typically, this represents the map location the user clicked or tapped to launch a popup.
This value may be a MapPoint, an Envelope, or perhaps
null (if the popup wasn't opened from map interaction).
Therefore, check the geometry type before using it in an Arcade expression. A value for this property should be set by the
SDK that opens a popup to ensure that Arcade expressions are evaluated correctly.
If the Popup is created from a call to an identify method that returns popups, such as GeoView.IdentifyLayerAsync(Esri.ArcGISRuntime.Mapping.Layer, Point, double, bool),
the UserInput will be automatically initialized with the coordinate where the identify operation began.
If the Popup is created manually, a value for this property should be set to ensure that Arcade
expressions are evaluated correctly.
Applies to
Platforms and versions
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 200.7 - 200.8 | 
| .NET | 200.7 - 200.8 | 
| .NET Windows | 200.7 - 200.8 | 
| .NET Android | 200.7 - 200.8 | 
| .NET iOS | 200.7 - 200.8 | 
| .NET Framework | 200.7 - 200.8 | 
| UWP | 200.7 - 200.8 |