Show / Hide Table of Contents

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
object
DependencyObject
UIElement
FrameworkElement
Control
PopupViewer
Implements
IEquatable<DependencyObject>
IAnimationObject
IVisualElement
IVisualElement2
IEquatable<UIElement>
IEquatable<FrameworkElement>
IWinRTObject
IUnmanagedVirtualMethodTableProvider
IDynamicInterfaceCastable
IEquatable<Control>
Namespace: Esri.ArcGISRuntime.Toolkit.UI.Controls
Assembly: Esri.ArcGISRuntime.Toolkit.WinUI.dll
Syntax
[TemplatePart(Name = "PopupContentScrollViewer", Type = typeof(ScrollViewer))]
[TemplatePart(Name = "ItemsView", Type = typeof(ItemsControl))]
[WinRTRuntimeClassName("Microsoft.UI.Xaml.IUIElementOverrides")]
[WinRTExposedType(typeof(Esri_ArcGISRuntime_Toolkit_UI_Controls_CompassWinRTTypeDetails))]
public class PopupViewer : Control, IEquatable<DependencyObject>, IAnimationObject, IVisualElement, IVisualElement2, IEquatable<UIElement>, IEquatable<FrameworkElement>, IWinRTObject, IUnmanagedVirtualMethodTableProvider, IDynamicInterfaceCastable, IEquatable<Control>
Remarks

The PopupViewer consists of a number of sub-controls all in the Esri.ArcGISRuntime.Toolkit.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
PopupProperty

Identifies the Popup dependency property.

VerticalScrollBarVisibilityProperty

Identifies the VerticalScrollBarVisibility dependency property.

Properties

Name Description
CurrentPopup

Gets the currently active popup being viewed

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()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

Events

Name Description
HyperlinkClicked

Raised when a link is clicked

PopupAttachmentClicked

Raised when a popup attachment is clicked

In this article
Back to top Generated by DocFX