GoDiagram Win Reference
GoSelection Class Methods


For a list of all members of this type, see GoSelection members.

Public Methods
 NameDescription
Public MethodAddOverridden. Add an object to this selection.  
Public MethodAddAllSelectionHandlesCall GoObject.AddSelectionHandles on the GoObject.SelectionObject of each selected object if GoObject.CanView is true, or call GoObject.RemoveSelectionHandles otherwise.  
Public MethodAddHandleAssociate a handle with an object in this selection.  
Public MethodAddRangeOverridden. Call GoView.RaiseSelectionStarting and GoView.RaiseSelectionFinished around the addition of all of the objects in the given collection to this selection.  
Public MethodClearOverridden. Clearing the selection raises the GoView.GoView.SelectionStarting and GoView.SelectionFinished events, if there were multiple objects selected.  
Public MethodContainsOverridden. Determine if an object is part of this selection.  
Public MethodCopyArrayReturns a newly allocated array of all of the GoObjects in the collection. (Inherited from Northwoods.Go.GoCollection)
Public MethodCopyToCopy references to all of the objects in this collection into an array. (Inherited from Northwoods.Go.GoCollection)
Public MethodCreateBoundingHandleCreate and determine the appearance of a large handle around an object.  
Public MethodCreateResizeHandleCreate and determine the appearance of a small handle for an object.  
Public MethodFindHandleByIDFind a particular selection handle for an object, given its IGoHandle.HandleID.  
Public MethodGetAnExistingHandleReturn one of the handles associated with an object in this selection.  
Public MethodGetEnumeratorGets an enumerator for iterating over the GoObjects in this collection. (Inherited from Northwoods.Go.GoCollection)
Public MethodGetHandleCountReturn the number of handles associated with an object in this selection.  
Public MethodGetHandleEnumerableReturn an enumerable collection of the selection handles for an object.  
Public MethodOnGotFocusThis method is called by GoView.OnGotFocus to make sure all selection handles appear normally.  
Public MethodOnLostFocusThis 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).  
Public MethodRemoveOverridden. Remove an object from this selection.  
Public MethodRemoveAllSelectionHandlesCall GoObject.RemoveSelectionHandles on the GoObject.SelectionObject of each selected object.  
Public MethodRemoveHandlesRemove all handles associated with an object in this selection.  
Public MethodSelectMake the given object the one and only selected object.  
Public MethodToggleIf the given object is part of this selection, remove it; otherwise add it.  
Top
See Also

Reference

GoSelection Class
Northwoods.Go Namespace

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback