Contains support classes that can be used to visualize a model in a CanvasControl .

Classes

  ClassDescription
Public classBridgeManager
Helper managing class that can be used in conjunction with CanvasControl instances to manage the calculation of bridges for paths over obstacles.
Public classCanvasGroupProviders
Static utility class that provides simple factory methods for ICanvasGroupProvider<(Of <(<'T>)>)> convenience implementations.
Public classCollectionModelManager<(Of <(<'T>)>)>
An implementation of the ModelManager<(Of <(<'T>)>)> class that automatically installs, updates and removes visual representations of items in a ICollectionModel<(Of <(<'T>)>)>.
Public classDefaultCanvasGroupProvider
Static utility class that provides simple factory methods for ICanvasGroupProvider<(Of <(<'T>)>)> convenience implementations.
Public classDefaultCollectionModel<(Of <(<'T>)>)>
A simple default implementation of an ICollectionModel<(Of <(<'T>)>)> that is backed by an ordinary ICollection<(Of <(<'T>)>)>
Public classDefaultSelectionModel<(Of <(<'T>)>)>
Default implementation of an ISelectionModel<(Of <(<'T>)>)> that is based on a second collection model to hold the selected elements.
Public classDictionaryMapper<(Of <(<'K, V>)>)>
An IDictionary<(Of <(<'TKey, TValue>)>)> based implementation of an IMapper<(Of <(<'K, V>)>)> that can handle nullNothingnullptra null reference (Nothing in Visual Basic) and other default-value keys gracefully.
Public classFocusPaintManager<(Of <(<'T>)>)>
A ModelManager<(Of <(<'T>)>)> implementation that manages the visual decoration of the focused element in a canvas.
Public classHighlightPaintManager<(Of <(<'T>)>)>
A ModelManager<(Of <(<'T>)>)> implementation that manages the visual decorations of highlighted elements in a canvas.
Public classInputModeController<(Of <(<'T>)>)>
A utility class that offers various implementations of interfaces that can be used by different IInputMode implementations.
Public classInstallerBasedModelManager<(Of <(<'T>)>)>
An implementation of the ModelManager<(Of <(<'T>)>)> class that automatically installs, updates and removes visual representations of items in a ICollectionModel<(Of <(<'T>)>)>.
Public classInstallerContext
Simple basic implementation of the IInstallerContext interface.
Public classInstallerContextExtensions
Extension method class for IInstallerContext
Public classItemEventArgs<(Of <(<'T>)>)>
Event argument class used by ICollectionModel<(Of <(<'T>)>)> and similar that holds a specific item that is related to the event.
Public classListEnumerable<(Of <(<'T>)>)>
Wraps a simple IEnumerable<(Of <(<'T>)>)> into a IListEnumerable<(Of <(<'T>)>)>.
Public classMapperExtensions
Extension method holder class that extends the IMapper<(Of <(<'K, V>)>)> type with utility methods.
Public classMappers
Utility class that provides convenience methods related to IMapper<(Of <(<'K, V>)>)>
Public classModelManager<(Of <(<'T>)>)>
An abstract implementation of a utility class that manages the visual representations of items in a CanvasControl
Public classSelectionPaintManager<(Of <(<'T>)>)>
A ModelManager<(Of <(<'T>)>)> implementation that manages the visual decorations of selected elements in a canvas.
Public classTypeBasedItemInstaller<(Of <(<'T>)>)>
An implementation of the IModelItemInstaller<(Of <(<'T>)>)> interface that will use a fixed ICanvasObjectDescriptor for each item that is assignable a specific type.
Public classWeakDictionaryMapper<(Of <(<'K, V>)>)>
An IDictionary<(Of <(<'TKey, TValue>)>)> based implementation of an IMapper<(Of <(<'K, V>)>)> that can handle null keys gracefully and uses weak keys.

Interfaces

  InterfaceDescription
Public interfaceIAddBridgesCallback
Callback used by BridgeManager to add bridges to a GeneralPath.
Public interfaceICanvasGroupProvider<(Of <(<'T>)>)>
Simple query interface that returns an ICanvasObjectGroup for a given item.
Public interfaceICollectionModel<(Of <(<'T>)>)>
The interface for a collection that will notify registered event handlers of changes to its contents.
Public interfaceIInstallerContext
The context object that is passed to IModelItemInstaller<(Of <(<'T>)>)>, ISelectionInstaller, IHighlightInstaller, etc.
Public interfaceIListEnumerable<(Of <(<'T>)>)>
An extension to the IEnumerable<(Of <(<'T>)>)> interface that allows for indexed access and retrieval of the element count.
Public interfaceIMapper<(Of <(<'K, V>)>)>
A simple interface for a typed dictionary-like implementation.
Public interfaceIModelItem
The interface used by items that belong to a model, that most of the utility classes for the CanvasControl can deal with.
Public interfaceIModelItemDescriptor<(Of <(<'T>)>)>
Simple handle interface used by ModelManager<(Of <(<'T>)>)>
Public interfaceIModelItemInstaller<(Of <(<'T>)>)>
An interface for a class that installs visual representations of items in a canvas control.
Public interfaceIObstacleProvider
The interface that is used by BridgeManager to add obstacles to list of obstacles that need to be taken into account during rendering.
Public interfaceISelectionInstaller
An interface for objects that can install a visual representation of a selection decoration of an item in the model displayed in a canvas.
Public interfaceISelectionModel<(Of <(<'T>)>)>
An interface that models the selection state of a set of items.

Delegates

  DelegateDescription
Public delegateItemEventHandler<(Of <(<'T>)>)>
An event handler delegate used for ItemEventArgs<(Of <(<'T>)>)> in the context of ICollectionModel<(Of <(<'T>)>)> and the like.
Public delegateMapperDelegate<(Of <(<'K, V>)>)>
A delegate that mimics the Item[([( K])]) access.

Enumerations

  EnumerationDescription
Public enumerationBridgeOrientationStyle
Enumeration for use in conjunction with BridgeManager and GetOrientationStyle(IRenderContext)
Public enumerationCrossingDetermination
Enumeration used by BridgeManager that determines how crossings between obstacles and paths are determined.
Public enumerationCrossingStyle
Enumeration for use in conjunction with BridgeManager and GetCrossingStyle(IRenderContext).
Public enumerationShowFocusPolicy
The enumeration that describes the possible different policies for displaying the focus of items managed by the FocusPaintManager<(Of <(<'T>)>)>

Remarks

This CLR namespace is mapped to the XAML namespace YfilesWpfXamlNS