|
|
The Selection type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
Selection()()()() |
Create a clear selection
|
|
|
Selection(ModelItemCollection) |
Create a selection as a explicit collection of ModelItems
|
|
|
Selection(Selection) |
Create a copy of another selection
|
|
|
Selection(SelectionSourceCollection) |
Create a selection as a collection of SelectionSources
|
Methods
| Name | Description | |
|---|---|---|
|
|
Clear |
Reset selection to the default state, explicit and nothing selected
|
|
|
CopyFrom(IEnumerable<(Of <<'(ModelItem>)>>)) |
Initialise as explicit selection with items in from
|
|
|
CopyFrom(ModelItemCollection) |
Initialise as explicit selection with a copy of items
|
|
|
CopyFrom(Selection) |
Initialise selection with a copy of another selection
|
|
|
CopyFrom(SelectionSourceCollection) |
Initialise as collection of SelectionSources
|
|
|
Dispose()()()() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from NativeHandle.) |
|
|
Dispose(Boolean) | (Inherited from NativeHandle.) |
|
|
Equals |
Determines whether the specified object and the current object refer to the same
underlying native object. Returns false if either object has been disposed.
(Inherited from NativeHandle.) |
|
|
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from NativeHandle.) |
|
|
GetHashCode | (Inherited from NativeHandle.) |
|
|
GetSelectedItems()()()() |
Returns a ModelItemCollection that represents the items specified by this Selection in the document
which it is associated with.
|
|
|
GetSelectedItems(Document) |
Returns a ModelItemCollection that represents the items specified by this Selection in document.
|
|
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
|
SelectAll |
Initialises selection with a selection source that selects everything in document when resolved
|
|
|
ToString | (Inherited from NativeHandle.) |
|
|
ValueEquals(Selection) |
Performs comparison 'By Value'
|
|
|
ValueEquals(Selection, Selection) |
Compares the two references 'By Value'
|
Properties
| Name | Description | |
|---|---|---|
|
|
ExplicitSelection |
Selection as explicit collection of ModelItems
|
|
|
HasExplicitSelection |
Does this selection contain an explicit collection of ModelItems ?
|
|
|
HasSelectionSources |
Does this selection contain a collection of SelectionSources ?
|
|
|
IsClear |
Is this the default selection (explicit and nothing selected) ?
|
|
|
IsDisposed |
Gets a value indicating whether the object has been disposed and is no longer available.
(Inherited from NativeHandle.) |
|
|
IsReadOnly | (Overrides NativeHandle..::..IsReadOnly.) |
|
|
SelectionSources |
Selection as collection of SelectionSources
|