Table of Contents

Class SvgDrawingCanvas

Namespace
SharpVectors.Runtime
Assembly
SharpVectors.Runtime.Wpf.dll

This is the main drawing canvas for the rendered SVG diagrams.

public class SvgDrawingCanvas : Canvas, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild
Inheritance
SvgDrawingCanvas
Implements
Derived
Inherited Members

Constructors

SvgDrawingCanvas()

Properties

AnimationCanvas
AppTitle

Gets or sets the application title, which is used to display the alert and error messages not handled by the user.

Bounds
DesignMode

Gets a value specifying whether the viewer control is in design-mode.

DisplayOffset
DisplayTransform
DrawObjects
HostVisual
InteractiveMode

Gets or sets a value specifying the interactive mode, which controls the level of information attached to the generated drawing.

LinkObjects
VisualChildrenCount

Gets the number of child Visual objects in this instance of Panel.

Methods

GetVisualChild(int)

Gets a Visual child of this Panel at the specified index position.

LoadDiagrams(string)
LoadDiagrams(DrawingGroup, DrawingGroup, DrawingGroup)
MeasureOverride(Size)

Measures the child elements of a Canvas in anticipation of arranging them during the ArrangeOverride(Size) pass.

OnHandleAlert(string)
OnHandleError(string, Exception)
OnMouseDown(MouseButtonEventArgs)

Invoked when an unhandled MouseDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

OnMouseLeave(MouseEventArgs)

Invoked when an unhandled MouseLeave attached event is raised on this element. Implement this method to add class handling for this event.

OnMouseMove(MouseEventArgs)

Invoked when an unhandled MouseMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

OnMouseUp(MouseButtonEventArgs)

Invoked when an unhandled MouseUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

RenderDiagrams(SvgImageNameScope)
RenderDiagrams(DrawingGroup)
UnloadDiagrams()

Events

Alert
Error