The CollectionModelManager<(Of <(<'T>)>)> type exposes the following members.

Constructors

  NameDescription
Public methodCollectionModelManager<(Of <(<'T>)>)>(CanvasControl)
Creates an instance for the given canvas.
Public methodCollectionModelManager<(Of <(<'T>)>)>(CanvasControl, ICollectionModel<(Of <<'(T>)>>))
Creates a new instance for the given canvas and collection using a simple DictionaryMapper<(Of <(<'K, V>)>)> to associate internal state for each item in the collection.
Public methodCollectionModelManager<(Of <(<'T>)>)>(CanvasControl, IMapper<(Of <<'(T, Object>)>>))
Creates a new instance for the given canvas using the mapper to efficiently associate internal state for each item in the collection.
Public methodCollectionModelManager<(Of <(<'T>)>)>(CanvasControl, ICollectionModel<(Of <<'(T>)>>), IMapper<(Of <<'(T, Object>)>>))
Creates a new instance for the given canvas using the mapper to efficiently associate internal state for each item in the model.

Methods

  NameDescription
Public methodAdd
Adds an item to the canvas.
(Inherited from ModelManager<(Of <(<'T>)>)>.)
Public methodAddInstaller
Adds an item installer to the list of installers that will be queried during an Install(T) call.
(Inherited from InstallerBasedModelManager<(Of <(<'T>)>)>.)
Public methodContainsDescriptor
Checks whether this descriptor is currently being managed by this instance.
(Inherited from ModelManager<(Of <(<'T>)>)>.)
Protected methodCreateInstallerContext
Factory method that creates the installer context.
(Inherited from InstallerBasedModelManager<(Of <(<'T>)>)>.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCanvasObject
Retrieves the main canvas object that has been registered for the given item or null.
Public methodGetDescriptor
Obtains the descriptor associated with the given item using the internal mapper.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetItem
Tries to find the item managed by this instance that is associated with the given canvas object.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInstall
Effectively installs a member of the collection into the canvas using the internally held list of installers.
(Inherited from InstallerBasedModelManager<(Of <(<'T>)>)>.)
Public methodInvalidate
This method can be called to invalidate the ICanvasObjects that make up the visual representation of the given item.
Protected methodInvalidateDescriptor
Callback used by Invalidate(T) to actually perform the Invalidate()()()() calls for the given descriptor.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnDisabled
Called when this mode gets disabled.
Protected methodOnEnabled
Called when this mode gets enabled.
Public methodRemoveDescriptor
Removes the canvas objects associated with the given descriptor handle.
(Inherited from ModelManager<(Of <(<'T>)>)>.)
Public methodRemoveInstaller
Removes a previously registered installer from the list of installers.
(Inherited from InstallerBasedModelManager<(Of <(<'T>)>)>.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodUnInstall
Simple implementation that removes all of the given canvasObjects.
(Inherited from ModelManager<(Of <(<'T>)>)>.)
Public methodUpdate
This method may be called to update the visual representation of the given item.
Public methodUpdateDescriptor
Updates the item in the canvas by uninstalling and reinstalling it into the canvas.
(Inherited from ModelManager<(Of <(<'T>)>)>.)

Fields

  NameDescription
Protected fieldcanvas
The canvas instance this instance is managing.
(Inherited from ModelManager<(Of <(<'T>)>)>.)

Properties

  NameDescription
Public propertyCanvas
Gets the canvas instance this instance is managing.
(Inherited from ModelManager<(Of <(<'T>)>)>.)
Public propertyCollectionModel
Gets or sets the model of the items to display in the canvas.
Public propertyEnabled
Gets or sets a value indicating whether this CollectionModelManager<(Of <(<'T>)>)> is enabled.
Public propertyGroupProvider
Gets or sets the group provider that will be used in CreateInstallerContext(T) to determine the canvas group where the item should be installed into.
(Inherited from InstallerBasedModelManager<(Of <(<'T>)>)>.)

See Also