Property Elements
Elements
Gets a mutable, ordered list of pop-up elements.
Declaration
public IList<PopupElement> Elements { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<PopupElement> | A mutable, ordered list of PopupElement objects. |
Remarks
The order of the collection is the order that elements are shown in the pop-up window.
For backward compatibility with a webmap or webscene created by clients that don't support the popup elements, a few popup elements are created to match the legacy popup style when reading a popup definition without popup elements:
- A TextPopupElement if Description is not empty.
- A FieldsPopupElement if Description is empty.
- A MediaPopupElement if Media is not empty.
- An AttachmentsPopupElement if ShowAttachments is
true
.
Vice versa, if the user updates the popup elements, the legacy popup style is updated during the PopupDefinition serialization, in order to match as much as possible the popup elements, so that older clients can display a popup that looks similar.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 - 100.15 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |