IVirtualizationService
Interface
The service supporting the virtualization of diagram items which are not visible in the viewport anymore.
Note that this service can be customized and plugged into the ServiceLocator.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Syntax:
C#
public interface IVirtualizationService
Derived Classes:
Properties
Methods
Forces the realization of all items.
C#
void ForceRealization()
When implementing a layout algorithm you need to call this method in order to take all the bounds into account.
Determines whether the item is in the viewport.
Notifies items change.
C#
void NotifyItemsChanged(NotifyCollectionChangedEventArgs e)
The NotifyCollectionChangedEventArgs instance containing the event data.
Realizes the items contained in provided bounds and virtualizes the others.
C#
void Realize(Rect enclosingBounds)
Items inside will be realized.
Virtualizes this instance.
C#
void Virtualize()
Virtualizes the specified items.
C#
void Virtualize(IEnumerable<IDiagramItem> items)
The items.