-
Notifications
You must be signed in to change notification settings - Fork 19
Performance
RichCanvas is optimized for interaction with hundreds of elements.
In the Demo example app, this is how interacting with 1000 elements feels:
In order to optimize rendering you can set the DisableCache
dependency property to false
.
Recommandation: Set
DisableCache
tofalse
at a lower scale(zoomed out), because there are more elements to render. And setDisableCache
totrue
at a higher scale(zoomed in).
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
.