Class AttachmentsPopupElementView
Supporting control for the PopupViewer control,
used for rendering a
Namespace: Esri.ArcGISRuntime.Toolkit.Primitives
Assembly: Esri.ArcGISRuntime.Toolkit.WinUI.dll
Syntax
public class AttachmentsPopupElementView : Control
Constructors
| Improve this Doc View SourceAttachmentsPopupElementView()
Initializes a new instance of the AttachmentsPopupElementView class.
Declaration
public AttachmentsPopupElementView()
Fields
| Improve this Doc View SourceElementProperty
Identifies the Element dependency property.
Declaration
public static readonly DependencyProperty ElementProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceElement
Gets or sets the AttachmentsPopupElement.
Declaration
public AttachmentsPopupElement? Element { get; set; }
Property Value
Type | Description |
---|---|
Nullable<AttachmentsPopupElement> |
Methods
| Improve this Doc View SourceOnApplyTemplate()
Declaration
protected override void OnApplyTemplate()
OnAttachmentClicked(PopupAttachment)
Occurs when an attachment is clicked.
Declaration
public virtual async void OnAttachmentClicked(PopupAttachment attachment)
Parameters
Type | Name | Description |
---|---|---|
PopupAttachment | attachment | Attachment clicked. |
Remarks
Override this to prevent the default open action.