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.Maui
Assembly: Esri.ArcGISRuntime.Toolkit.Maui.dll
Syntax
public class BookmarksView : TemplatedView
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 bindable property.
Declaration
public static readonly BindableProperty BookmarksOverrideProperty
Field Value
Type | Description |
---|---|
BindableProperty |
GeoViewProperty
Identifies the GeoView bindable property.
Declaration
public static readonly BindableProperty GeoViewProperty
Field Value
Type | Description |
---|---|
BindableProperty |
ItemTemplateProperty
Identifies the ItemTemplate bindable property.
Declaration
public static readonly BindableProperty ItemTemplateProperty
Field Value
Type | Description |
---|---|
BindableProperty |
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 |
---|---|
Nullable<IEnumerable<Bookmark>> |
Remarks
If set to a Esri.ArcGISRuntime, the view will be updated with collection changes.
See Also
| Improve this Doc View SourceGeoView
Gets or sets the geoview that contain the layers whose symbology and description will be displayed.
Declaration
public GeoView? GeoView { get; set; }
Property Value
Type | Description |
---|---|
Nullable<GeoView> |
See Also
| Improve this Doc View SourceItemTemplate
Gets or sets the data template that renders 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
Raised whenever a bookmark is selected.
Declaration
public event EventHandler<Bookmark>? BookmarkSelected
Event Type
Type | Description |
---|---|
Nullable<EventHandler<Bookmark>> |