Class BookmarksView
The BookmarksView view presents bookmarks, either from a list defined by BookmarksOverride or the Map or Scene shown in the associated GeoView.
Namespace: Esri.ArcGISRuntime.Toolkit.UI.Controls
Assembly: Esri.ArcGISRuntime.Toolkit.WinUI.dll
Syntax
public class BookmarksView : Control
Constructors
| Improve this Doc View SourceBookmarksView()
Initializes a new instance of the BookmarksView class.
Declaration
public BookmarksView()
Fields
| Improve this Doc View SourceBookmarksOverrideProperty
Identifies the BookmarksOverride dependency property.
Declaration
public static readonly DependencyProperty BookmarksOverrideProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
GeoViewProperty
Identifies the GeoView dependency property.
Declaration
public static readonly DependencyProperty GeoViewProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ItemContainerStyleProperty
Identifies the ItemContainerStyle dependency property.
Declaration
public static readonly DependencyProperty ItemContainerStyleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ItemTemplateProperty
Identifies the ItemTemplate dependency property.
Declaration
public static readonly DependencyProperty ItemTemplateProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceBookmarksOverride
Gets or sets the list of bookmarks to display. Otherwise, the bookmarks from the Map or Scene shown in the associated GeoView are displayed.
Declaration
public IEnumerable<Bookmark> BookmarksOverride { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<Bookmark> |
Remarks
If set to a Esri.ArcGISRuntime, the view will be updated with collection changes.
GeoView
Gets or sets the MapView or SceneView associated with this view. When a bookmark is selected, the viewpoint of this geoview will be set to the bookmark's viewpoint. By default, bookmarks from the geoview's Map or Scene property will be shown. To show a custom bookmark list, set BookmarksOverride.
Declaration
public GeoView? GeoView { get; set; }
Property Value
Type | Description |
---|---|
Nullable<GeoView> |
ItemContainerStyle
Gets or sets the style used by the list view items in the underlying list view control.
Declaration
public Style? ItemContainerStyle { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Style> |
ItemTemplate
Gets or sets the item template used to render bookmark entries in the list.
Declaration
public DataTemplate? ItemTemplate { get; set; }
Property Value
Type | Description |
---|---|
Nullable<DataTemplate> |
Methods
| Improve this Doc View SourceOnApplyTemplate()
Declaration
protected override void OnApplyTemplate()
Events
| Improve this Doc View SourceBookmarkSelected
Event raised when the user selects a bookmark.
Declaration
public event EventHandler<Bookmark> BookmarkSelected
Event Type
Type | Description |
---|---|
EventHandler<Bookmark> |