Search
Overview Class
Remarks See Also
 





The Overview control provides a scaled-down view of a DiagramView and lets the user scroll or zoom the view using the mouse.

Namespace: MindFusion.Diagramming.Avalonia
Assembly: MindFusion.Diagramming.Avalonia

 Syntax

C#  Copy Code

public class Overview : TemplatedControl

Visual Basic  Copy Code

Public Class Overview
    Inherits TemplatedControl

 Remarks

To specify which DiagramView instance is shown in the overview, set the DiagramView property of the Overview class. The scale in which the overview control paints items is determined by ScaleFactor and ScaleMode properties. FitAll mode makes the whole diagram fit into the control.

 Example

Xaml  Copy Code

<diag:Overview
    x:Name="overview"
    DiagramView="{Binding ElementName=diagramView}"
    DimBrush="Transparent" />

 Inheritance Hierarchy

System.Object
    Avalonia.AvaloniaObject
        Avalonia.Animation.Animatable
            Avalonia.StyledElement
                Avalonia.Visual
                    Avalonia.Layout.Layoutable
                        Avalonia.Interactivity.Interactive
                            Avalonia.Input.InputElement
                                Avalonia.Controls.Control
                                    Avalonia.Controls.Primitives.TemplatedControl
                                        MindFusion.Diagramming.Avalonia.Overview

 See Also