Class PopupManager
Instances of this class represent a popup manager that contains the necessary business logic for displaying and editing popup information for geo-elements. This class is useful, for instance, if you want to create your own View for displaying a Popup.
Inheritance
Implements
Namespace: Esri.ArcGISRuntime.Mapping.Popups
Assembly: Esri.ArcGISRuntime.dll
Syntax
[Obsolete("Use Popup for viewing and FeatureForm for editing features")]
public class PopupManager : INotifyPropertyChanged
Constructors
Name | Description |
---|---|
Popup |
Initializes a new instance of the Popup |
Properties
Name | Description |
---|---|
Allow |
Gets a value indicating whether or not the popup view should allow deleting. |
Allow |
Gets a value indicating whether or not the popup view should allow editing. |
Allow |
Gets a value indicating whether or not the popup view should allow editing the attachments. |
Allow |
Gets a value indicating whether or not the popup view should allow editing the geometry. |
Attachment |
Gets the attachment manager for this popup |
Custom |
Gets the text to display as the custom HTML description. |
Displayed |
Gets the PopupField Values that are for display purposes only |
Editable |
Gets the PopupField Values that are editable |
Edit |
Gets the edit summary text. |
Evaluated |
Gets a collection of Popup |
Feature |
gets the current FeatureType, if any, for the GeoElement |
Formatter | Gets or sets the formatter used for formatting dates and numbers. Defaults to System. |
Geometry |
Gets or sets the geometry editor for editing the feature. |
Is |
Gets a value indicating whether editing is currently enabled. |
Is |
Gets a value indicating whether or not the GeoElement is in a valid state as far as the values it has set in its attributes and its geometry. |
Is |
Gets a value indicating whether the geometry is in a valid state for finishing the edit |
Popup | Gets the Popup instance this manager is based on |
Show |
Gets a value indicating whether or not the popup view should show the attachments. |
Show |
Gets a value indicating whether or not the popup view should show the custom description HTML. |
Show |
Gets a value indicating whether or not the popup view should show the edit info summary. |
Show |
Gets a value indicating whether or not the popup view should show the media. |
Symbol | Gets the symbol used by the popup's geo-element |
Title | Gets the text to display as the popup title. |
Treat |
Gets or sets a value indicating whether warnings should be treated as errors. |
Methods
Name | Description |
---|---|
Cancel |
Cancels the editing of the popup. This rolls the GeoElement back to its original state. |
Evaluate |
Asynchronously evaluates all expressions, including Arcade FeatureSet functions available at Expressions.
This method must be called before displaying the popup information in a UI and after Finish |
Finish |
Completes the edit against the GeoElement. |
Get |
Returns the set of all field contingency validation errors. |
Get |
Returns the set of all field contingency validation warnings. |
Get |
Gets the contingent values for the specified field. |
Get |
Gets the domain for the given field. |
Get |
Returns the Popup |
Get |
Gets the label for the specified Popup |
Get |
Gets the type of field for the popup field |
Get |
Gets the attribute value for the field. |
Get |
Returns the attribute value for the field specified by a name. |
Get |
Returns a formatted String representation of the current popup field's value. |
Get |
Gets the maximum text length of the field |
Get |
Gets the validation error for the specified field - if any. |
Get |
Gets the validation warning for the specified field. |
Is |
Returns a value indicating whether the specified field participates in a Field |
Is |
Gets a value indicating whether the provided field allows |
Is |
Gets a value indicating whether the provided field is a type id field. |
Start |
Starts editing of the GeoElement. |
Substitute(String) | Substitutes attribute values for attribute place-holders in a given template string. |
Update |
Updates the attribute value for a field. |
Update |
Updates the attribute value for a field. |
Events
Name | Description |
---|---|
Property |
Occurs when a property value changes. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.2.1 - 200.6 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.6 |