A view for displaying and editing information of GeoElements, including Features and Graphics. More...
Since: | Esri.ArcGISRuntime 100.10 |
Properties
- busy : bool
- closeCallback : var
- currentItem : PopupView
- depth : int
- popEnter : Transition
- popExit : Transition
- popupManagers : var
- pushEnter : Transition
- pushExit : Transition
Signals
- attachmentThumbnailClicked(int index)
Methods
Detailed Description
A PopupStackView can be used to display information for any type that implements the PopupSource interface. For example, FeatureLayer implements PopupSource. This means that it has a PopupDefinition, which defines how the Popup should look for any features in that layer.
An example workflow for displaying a PopupStackView for features in a FeatureLayer would be:
- Declare a PopupStackView and anchor it to a desired location.
- Perform an identify operation on a GeoView and select the desired Features from the identify result.
- Create Popups from the Features.
- Optionally obtain the Popup's PopupDefinition and set the title, whether to show attachments, and so on.
- Create a PopupManager from the Popup and add it to a list of PopupManagers
- Assign the list mentioned in the above step to the PopupStackView's
popupManagers
property
The PopupStackView is a QML Item that can be anchored, given to a dialog, or positioned using XY screen coordinates. Transform, Transition, and other QML animation types can be used to animate the showing and dismissing of the view.
For more information, please see the Popup and PopupManager documentation.
Note: Each time a change is made to the Popup, PopupDefinition, PopupManager, or any of their properties, the popupManagers must be re-set to the PopupStackView.
Property Documentation
busy : bool |
This property holds whether a transition is running.
See also StackView.
closeCallback : var |
Callback function called when the close button is clicked. When this property is set to null the close button does not render. When the close button is clicked the function in this property is called. Defaults to setting visible to false.
currentItem : PopupView |
This property holds the current top-most item in the stack. I.E. the current popup from the list of popup managers.
See also StackView.
depth : int |
This property holds the number of items currently pushed onto the stack.
See also StackView.
popEnter : Transition |
This property holds the transition that is applied to the item that enters the stack when another item is popped off of it.
See also StackView.
popExit : Transition |
This property holds the transition that is applied to the item that exits the stack when the item is popped off of it.
See also StackView.
popupManagers : var |
A list of PopupManagers that controls the information being displayed in a PopupStackView.
pushEnter : Transition |
This property holds the transition that is applied to the item that enters the stack when the item is pushed onto it.
See also StackView.
pushExit : Transition |
This property holds the transition that is applied to the item that exits the stack when another item is pushed onto it.
See also StackView.
Signal Documentation
attachmentThumbnailClicked(int index) |
Signal emitted when an attachment thumbnail is clicked. The index of the PopupAttachment in the PopupAttachmentListModel of the currently displayed PopupView.
Note: The corresponding handler is onAttachmentThumbnailClicked
.
Method Documentation
clear(args) |
Removes all items from the stack. args all args passed
See also StackView.
find(args) |
Search for a specific item inside the stack. The callback function is called for each item in the stack (with the item and index as arguments) until the callback function returns true. The return value is the item found. args all args passed
See also StackView.
get(args) |
Returns the item at position index in the stack, or null if the index is out of bounds. args all args passed
See also StackView.
gotoNext() |
Attempts to show the next item in the list of PopupManagers.
gotoPrevious() |
Attempts to show the previous item in the list of PopupManagers.
pop(args) |
Pops one or more items off the stack. Returns the last item removed from the stack. If the item argument is specified, all items down to (but not including) item will be popped. If item is null, all items down to (but not including) the first item is popped. If not specified, only the current item is popped. args all args passed
See also StackView.