Contains support classes that can be used to visualize a model in a
CanvasControl
.
Classes
| Class | Description | |
|---|---|---|
| BridgeManager |
Helper managing class that can be used in conjunction with CanvasControl
instances to manage the calculation of bridges for paths over obstacles.
| |
| CanvasGroupProviders |
Static utility class that provides simple factory methods for ICanvasGroupProvider<(Of <(<'T>)>)>
convenience implementations.
| |
| CollectionModelManager<(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>)>)>.
| |
| DefaultCanvasGroupProvider |
Static utility class that provides simple factory methods for ICanvasGroupProvider<(Of <(<'T>)>)>
convenience implementations.
| |
| DefaultCollectionModel<(Of <(<'T>)>)> |
A simple default implementation of an ICollectionModel<(Of <(<'T>)>)>
that is backed by an ordinary ICollection<(Of <(<'T>)>)> | |
| DefaultSelectionModel<(Of <(<'T>)>)> |
Default implementation of an ISelectionModel<(Of <(<'T>)>)> that
is based on a second collection model to hold the selected elements.
| |
| DictionaryMapper<(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.
| |
| FocusPaintManager<(Of <(<'T>)>)> |
A ModelManager<(Of <(<'T>)>)> implementation that manages the
visual decoration of the focused element in a canvas.
| |
| HighlightPaintManager<(Of <(<'T>)>)> |
A ModelManager<(Of <(<'T>)>)> implementation that manages the
visual decorations of highlighted elements in a canvas.
| |
| InputModeController<(Of <(<'T>)>)> |
A utility class that offers various implementations of interfaces
that can be used by different IInputMode implementations.
| |
| InstallerBasedModelManager<(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>)>)>.
| |
| InstallerContext |
Simple basic implementation of the IInstallerContext interface.
| |
| InstallerContextExtensions |
Extension method class for IInstallerContext | |
| ItemEventArgs<(Of <(<'T>)>)> |
Event argument class used by ICollectionModel<(Of <(<'T>)>)> and
similar that holds a specific item that is related to the event.
| |
| ListEnumerable<(Of <(<'T>)>)> |
Wraps a simple IEnumerable<(Of <(<'T>)>)>
into a IListEnumerable<(Of <(<'T>)>)>.
| |
| MapperExtensions |
Extension method holder class that extends the
IMapper<(Of <(<'K, V>)>)> type with utility methods.
| |
| Mappers |
Utility class that provides convenience methods related to IMapper<(Of <(<'K, V>)>)> | |
| ModelManager<(Of <(<'T>)>)> |
An abstract implementation of a utility class that manages
the visual representations of items in a CanvasControl | |
| SelectionPaintManager<(Of <(<'T>)>)> |
A ModelManager<(Of <(<'T>)>)> implementation that manages the
visual decorations of selected elements in a canvas.
| |
| TypeBasedItemInstaller<(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.
| |
| WeakDictionaryMapper<(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
| Interface | Description | |
|---|---|---|
| IAddBridgesCallback | ||
| ICanvasGroupProvider<(Of <(<'T>)>)> |
Simple query interface that returns an ICanvasObjectGroup
for a given item.
| |
| ICollectionModel<(Of <(<'T>)>)> |
The interface for a collection that will notify registered event handlers
of changes to its contents.
| |
| IInstallerContext |
The context object that is passed to IModelItemInstaller<(Of <(<'T>)>)>,
ISelectionInstaller, IHighlightInstaller, etc.
| |
| IListEnumerable<(Of <(<'T>)>)> |
An extension to the IEnumerable<(Of <(<'T>)>)> interface
that allows for indexed access and retrieval of the element count.
| |
| IMapper<(Of <(<'K, V>)>)> |
A simple interface for a typed dictionary-like implementation.
| |
| IModelItem |
The interface used by items that belong to a model, that most
of the utility classes for the CanvasControl
can deal with.
| |
| IModelItemDescriptor<(Of <(<'T>)>)> |
Simple handle interface used by ModelManager<(Of <(<'T>)>)> | |
| IModelItemInstaller<(Of <(<'T>)>)> |
An interface for a class that installs visual representations of items
in a canvas control.
| |
| IObstacleProvider |
The interface that is used by BridgeManager
to add obstacles
to list of obstacles that need to be taken into account during rendering.
| |
| ISelectionInstaller |
An interface for objects that can install a visual representation of
a selection decoration of an item in the model displayed in a canvas.
| |
| ISelectionModel<(Of <(<'T>)>)> |
An interface that models the selection state of a set of items.
|
Delegates
| Delegate | Description | |
|---|---|---|
| ItemEventHandler<(Of <(<'T>)>)> |
An event handler delegate used for ItemEventArgs<(Of <(<'T>)>)> in
the context of ICollectionModel<(Of <(<'T>)>)> and the like.
| |
| MapperDelegate<(Of <(<'K, V>)>)> |
A delegate that mimics the Item(UTP) access.
|
Enumerations
| Enumeration | Description | |
|---|---|---|
| BridgeOrientationStyle |
Enumeration for use in conjunction with BridgeManager
and GetOrientationStyle(IRenderContext) | |
| CrossingDetermination |
Enumeration used by BridgeManager that
determines how crossings between obstacles and paths are determined.
| |
| CrossingStyle |
Enumeration for use in conjunction with BridgeManager
and GetCrossingStyle(IRenderContext).
| |
| ShowFocusPolicy |
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()()()()