Class PopupViewer
The PopupViewer control is used to display details and media, edit attributes, geometry and related records, manage attachments of an ArcGISFeature or a Graphic as defined in its Popup.
Inheritance
Implements
Namespace: Esri.ArcGISRuntime.Toolkit.Maui
Assembly: Esri.ArcGISRuntime.Toolkit.Maui.dll
Syntax
public class PopupViewer : TemplatedView, INotifyPropertyChanged, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, ILayout, ILayoutController, IVisualTreeElement, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Remarks
The PopupViewer consists of a number of sub-controls all in the Esri.ArcGISRuntime.Toolkit.Maui.Primitives namespace.
Control-Description
- AttachmentsPopupElementViewDisplays and downloads the attachments defind by the AttachmentsPopupElement.
- FieldsPopupElementViewDisplays the feature fields defined by the FieldsPopupElement.
- MediaPopupElementViewDisplays the images and charts defined by the MediaPopupElement.
- TextPopupElementViewDisplays the text content defined by the TextPopupElement.
In addition to overwrite the control templates of this control and its child controls, the following styles are available for overriding text styling:
Resource Key-Description
- PopupViewerHeaderStyleLabel style for the main popup header.
- PopupViewerTitleStyleLabel style for the title of each popup element.
- PopupViewerCaptionStyleLabel style for the caption of each popup element.
Constructors
Name | Description |
---|---|
PopupViewer() | Initializes a new instance of the PopupViewer class. |
Fields
Name | Description |
---|---|
ItemsViewName | Template name of the IBindableLayout items layout view. |
PopupContentScrollViewerName | Template name of the popup content's ScrollView. |
PopupProperty | Identifies the PopupManager dependency property. |
VerticalScrollBarVisibilityProperty | Identifies the VerticalScrollBarVisibility dependency property. |
Properties
Name | Description |
---|---|
Popup | Gets or sets the associated Popup. |
VerticalScrollBarVisibility | Gets or sets the vertical scrollbar visibility of the scrollviewer below the title. |
Methods
Name | Description |
---|---|
OnApplyTemplate() |
Events
Name | Description |
---|---|
HyperlinkClicked | Raised when a link is clicked |
PopupAttachmentClicked | Raised when a popup attachment is clicked |