Search
Diagram.Bookmarks Property
See Also
 





Gets a collection of all saved bookmarks / areas of interest defined in this diagram.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public ObservableCollection<DiagramBookmark> Bookmarks { get; }

Visual Basic  Copy Code

Public ReadOnly Property Bookmarks As ObservableCollection(Of DiagramBookmark)

 Property Value

A list of DiagramBookmark objects.

 Remarks

Bookmarks are displayed by the MiniMap control, and can also be set as data source of standard WPF list or grid components as alternative navigational UI.

At this time, the control does not provide a built-in way to add bookmarks interactively. You can let users create bookmarks from event handlers such as DoubleClicked, LassoDrawn, or from a context menu. Alternatively, you can create bookmarks programmatically to reflect the diagram's contents by calculating them from node and link positions and metadata.

 See Also