Simple data virtualization. Assuming containers are generated. Just hiding the items out of the viewport.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
public class VirtualizationService : GraphServiceBase, IVirtualizationService
Inheritance: objectGraphServiceBaseVirtualizationService
Implements:
Inherited Members
Constructors
Initializes a new instance of the VirtualizationService class.
Properties
Methods
Forces the realization of all items.
public void ForceRealization()
Implements:
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.
public bool IsInViewport(IDiagramItem item)
The item.
Returns:Implements:
Notifies items change.
public void NotifyItemsChanged(NotifyCollectionChangedEventArgs e)
The NotifyCollectionChangedEventArgs instance containing the event data.
Implements:
Realizes the items contained in provided bounds and virtualizes the others.
public virtual void Realize(Rect enclosingBounds)
Items inside will be realized.
Implements:
Virtualizes this instance.
public void Virtualize()
Implements:
Virtualizes the specified items.
public virtual void Virtualize(IEnumerable<IDiagramItem> items)
The items.
Implements: