The Selection type exposes the following members.

Constructors

  NameDescription
Public methodSelection
Initializes a new instance of the Selection class

Methods

  NameDescription
Public methodAdd
Adds an element to the collection.
(Inherited from Collection<(Of <(<'TElement>)>)>.)
Public methodAddRange
Add an array of elements.
(Inherited from Collection<(Of <(<'TElement>)>)>.)
Public methodClear
Clears the collection.
(Inherited from Collection<(Of <(<'TElement>)>)>.)
Public methodContains
Returns true if the list contains the given element.
(Inherited from Collection<(Of <(<'TElement>)>)>.)
Public methodCopyTo
Copies the elements of the collection to the specified array.
(Inherited from Collection<(Of <(<'TElement>)>)>.)
Public methodGetEnumerator
Returns an iterator for the collection.
(Inherited from Collection<(Of <(<'TElement>)>)>.)
Public methodIndexOf
Get the index of the given element in the collection.
(Inherited from Collection<(Of <(<'TElement>)>)>.)
Public methodInsert
Insert an element at a particular index.
(Inherited from Collection<(Of <(<'TElement>)>)>.)
Public methodRemove
Remove a particular element from the collection.
(Inherited from Collection<(Of <(<'TElement>)>)>.)
Public methodRemoveAt
Removes the interactor at the given index.
(Inherited from Collection<(Of <(<'TElement>)>)>.)
Public methodSet
Set the collection to hold only the given element.
(Inherited from Collection<(Of <(<'TElement>)>)>.)

Properties

  NameDescription
Public propertyCount
Return the number of interactors in the collection.
(Inherited from Collection<(Of <(<'TElement>)>)>.)
Public propertyDataObject
The currently selected DataObject. This object gets derived from the current list of selected interactors. It can be used for copying to the clipboard, or drag-and-drop operations.
Public propertyGlyphs
The collection of currently selected glyphs. This set gets derived from the list of currently selected interactors.
Public propertyIsReadOnly
Returns false, to indicate that an collecion is writable.
(Inherited from Collection<(Of <(<'TElement>)>)>.)
Public propertyItem
Return the i-th element in the collection.
(Inherited from Collection<(Of <(<'TElement>)>)>.)
Public propertyText
set or get the text of the selection.

Events

  NameDescription
Public eventInserted
The Inserted event will be fired whenever a new element has been inserted into to the collection.
(Inherited from Collection<(Of <(<'TElement>)>)>.)
Public eventInvalidated
Fired when one or more interactors have become invalidated.
(Inherited from InteractorCollection.)
Public eventPreviewMouseDown
Raised when a PreviewMouseDown event gets raised by any of the interactors in the selection.
Public eventPreviewMouseMove
Raised when a PreviewMouseMove event gets raised by any of the interactors in the selection.
Public eventPreviewMouseUp
Raised when a PreviewMouseUp event gets raised by any of the interactors in the selection.
Public eventRemoved
The Removed event will be fired whenever an element has been removed from the collection.
(Inherited from Collection<(Of <(<'TElement>)>)>.)

See Also