Skip to content

Performance

Mircea Staicu edited this page Jul 23, 2021 · 5 revisions

Overview

RichCanvas is optimized for interaction with hundreds of elements.

In the 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.

Recommandation: 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