Show / Hide Table of Contents

Class BookmarksView

The BookmarksView view presents bookmarks, either from a list defined by BookmarksOverride or the Map or Scene shown in the associated GeoView.

Inheritance
Object
BookmarksView
Namespace: Esri.ArcGISRuntime.Toolkit.UI.Controls
Assembly: Esri.ArcGISRuntime.Toolkit.WinUI.dll
Syntax
public class BookmarksView : Control

Constructors

| Improve this Doc View Source

BookmarksView()

Initializes a new instance of the BookmarksView class.

Declaration
public BookmarksView()

Fields

| Improve this Doc View Source

BookmarksOverrideProperty

Identifies the BookmarksOverride dependency property.

Declaration
public static readonly DependencyProperty BookmarksOverrideProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

GeoViewProperty

Identifies the GeoView dependency property.

Declaration
public static readonly DependencyProperty GeoViewProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

ItemContainerStyleProperty

Identifies the ItemContainerStyle dependency property.

Declaration
public static readonly DependencyProperty ItemContainerStyleProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

ItemTemplateProperty

Identifies the ItemTemplate dependency property.

Declaration
public static readonly DependencyProperty ItemTemplateProperty
Field Value
Type Description
DependencyProperty

Properties

| Improve this Doc View Source

BookmarksOverride

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.

| Improve this Doc View Source

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>
| Improve this Doc View Source

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>
| Improve this Doc View Source

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 Source

OnApplyTemplate()

Declaration
protected override void OnApplyTemplate()

Events

| Improve this Doc View Source

BookmarkSelected

Event raised when the user selects a bookmark.

Declaration
public event EventHandler<Bookmark> BookmarkSelected
Event Type
Type Description
EventHandler<Bookmark>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX