Name | Description | |
---|---|---|
GoSelection Constructor | Create an empty collection of objects representing the user's selection for a view. |
The following tables list the members exposed by GoSelection.
Name | Description | |
---|---|---|
GoSelection Constructor | Create an empty collection of objects representing the user's selection for a view. |
Name | Description | |
---|---|---|
Backwards | Gets an enumerable whose enumerator will iterate over the GoObjects in reverse order. (Inherited from Northwoods.Go.GoCollection) | |
Count | Gets the number of objects in this collection. (Inherited from Northwoods.Go.GoCollection) | |
First | Gets the first object in this collection. (Inherited from Northwoods.Go.GoCollection) | |
Focused | Gets whether this selection thinks its view has gotten focus. | |
HotSpot | Gets or sets the offset for where the mouse pointer should be, relative to the GoObject.Position of the Primary selection. | |
IsEmpty | This predicate is true when there are no objects in this collection. (Inherited from Northwoods.Go.GoCollection) | |
IsReadOnly | True when this collection may not be modified. (Inherited from Northwoods.Go.GoCollection) | |
Last | Gets the last object in this collection. (Inherited from Northwoods.Go.GoCollection) | |
Primary | Gets the first object in this selection. | |
View | Gets the view that maintains this selection collection. |
Name | Description | |
---|---|---|
Add | Overridden. Add an object to this selection. | |
AddAllSelectionHandles | Call GoObject.AddSelectionHandles on the GoObject.SelectionObject of each selected object if GoObject.CanView is true, or call GoObject.RemoveSelectionHandles otherwise. | |
AddHandle | Associate a handle with an object in this selection. | |
AddRange | Overridden. Call GoView.RaiseSelectionStarting and GoView.RaiseSelectionFinished around the addition of all of the objects in the given collection to this selection. | |
Clear | Overridden. Clearing the selection raises the GoView.GoView.SelectionStarting and GoView.SelectionFinished events, if there were multiple objects selected. | |
Contains | Overridden. Determine if an object is part of this selection. | |
CopyArray | Returns a newly allocated array of all of the GoObjects in the collection. (Inherited from Northwoods.Go.GoCollection) | |
CopyTo | Copy references to all of the objects in this collection into an array. (Inherited from Northwoods.Go.GoCollection) | |
CreateBoundingHandle | Create and determine the appearance of a large handle around an object. | |
CreateResizeHandle | Create and determine the appearance of a small handle for an object. | |
FindHandleByID | Find a particular selection handle for an object, given its IGoHandle.HandleID. | |
GetAnExistingHandle | Return one of the handles associated with an object in this selection. | |
GetEnumerator | Gets an enumerator for iterating over the GoObjects in this collection. (Inherited from Northwoods.Go.GoCollection) | |
GetHandleCount | Return the number of handles associated with an object in this selection. | |
GetHandleEnumerable | Return an enumerable collection of the selection handles for an object. | |
OnGotFocus | This method is called by GoView.OnGotFocus to make sure all selection handles appear normally. | |
OnLostFocus | This method is called by GoView.OnLostFocus to make sure all selection handles either disappear (if GoView.HidesSelection is true), or appear with the GoView.NoFocusSelectionColor (if different from GoView.PrimarySelectionColor). | |
Remove | Overridden. Remove an object from this selection. | |
RemoveAllSelectionHandles | Call GoObject.RemoveSelectionHandles on the GoObject.SelectionObject of each selected object. | |
RemoveHandles | Remove all handles associated with an object in this selection. | |
Select | Make the given object the one and only selected object. | |
Toggle | If the given object is part of this selection, remove it; otherwise add it. |