Skip to content

RichCanvas Performance Overview

Mircea Staicu edited this page Aug 3, 2025 · 1 revision

Overview

Important

All the stuff documented here should still be applicable on version v3.0.0 or higher. The .gif is still from the old demo application. Updates on this should come in the future: automation tests, improvements, new demo maybe and many more.

RichCanvas is optimized for interaction with hundreds of elements.

In the old v2.4.2 Demo example app, this is how interacting with 1000 elements feels:

DEMO

Table of contents

Caching

In order to optimize rendering you can set the DisableCache dependency property to false.

Tip

Set DisableCache to false at a lower scale(zoomed out), because there are more elements to render. And set DisableCache to true at a higher scale(zoomed in).

Selection

By default RichCanvas has RealTimeSelectionEnabled set to false, this means that when a selection action is in progress the selected items will appear when the selection is finished(left mouse button released).

Note

Performance boost when thousands of elements are rendered.

If you want to have "real-time" highlighting and also having the element in SelectedItems when Selection is happening, set the RealTimeSelectionEnabled to true.

Drawing

Microsoft Documentation

Clone this wiki locally