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