GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoSelection Class
Properties Methods


In This Topic
    GoSelection Class Members
    In This Topic

    The following tables list the members exposed by GoSelection.

    Public Constructors
     NameDescription
    Public Constructor Create an empty collection of objects representing the user's selection for a view.  
    Top
    Public Properties
     NameDescription
    Public Property Gets an enumerable whose enumerator will iterate over the GoObjects in reverse order. (Inherited from Northwoods.Go.GoCollection)
    Public Property Gets the number of objects in this collection. (Inherited from Northwoods.Go.GoCollection)
    Public Property Gets the first object in this collection. (Inherited from Northwoods.Go.GoCollection)
    Public Property Gets whether this selection thinks its view has gotten focus.  
    Public PropertyGets or sets the offset for where the mouse pointer should be, relative to the GoObject.Position of the Primary selection.  
    Public Property This predicate is true when there are no objects in this collection. (Inherited from Northwoods.Go.GoCollection)
    Public Property True when this collection may not be modified. (Inherited from Northwoods.Go.GoCollection)
    Public Property Gets the last object in this collection. (Inherited from Northwoods.Go.GoCollection)
    Public Property Gets the first object in this selection.  
    Public Property Gets the view that maintains this selection collection.  
    Top
    Public Methods
     NameDescription
    Public MethodOverridden.  Add an object to this selection.  
    Public MethodCall GoObject.AddSelectionHandles on the GoObject.SelectionObject of each selected object if GoObject.CanView is true, or call GoObject.RemoveSelectionHandles otherwise.  
    Public Method Associate a handle with an object in this selection.  
    Public MethodOverridden. Call GoView.RaiseSelectionStarting and GoView.RaiseSelectionFinished around the addition of all of the objects in the given collection to this selection.  
    Public MethodOverridden. Clearing the selection raises the GoView.GoView.SelectionStarting and GoView.SelectionFinished events, if there were multiple objects selected.  
    Public MethodOverridden.  Determine if an object is part of this selection.  
    Public Method Returns a newly allocated array of all of the GoObjects in the collection. (Inherited from Northwoods.Go.GoCollection)
    Public Method Copy references to all of the objects in this collection into an array. (Inherited from Northwoods.Go.GoCollection)
    Public Method Create and determine the appearance of a large handle around an object.  
    Public Method Create and determine the appearance of a small handle for an object.  
    Public MethodFind a particular selection handle for an object, given its IGoHandle.HandleID.  
    Public Method Return one of the handles associated with an object in this selection.  
    Public Method Gets an enumerator for iterating over the GoObjects in this collection. (Inherited from Northwoods.Go.GoCollection)
    Public Method Return the number of handles associated with an object in this selection.  
    Public Method Return an enumerable collection of the selection handles for an object.  
    Public MethodThis method is called by GoView.OnGotFocus to make sure all selection handles appear normally.  
    Public MethodThis 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 MethodOverridden.  Remove an object from this selection.  
    Public MethodCall GoObject.RemoveSelectionHandles on the GoObject.SelectionObject of each selected object.  
    Public Method Remove all handles associated with an object in this selection.  
    Public Method Make the given object the one and only selected object.  
    Public Method If the given object is part of this selection, remove it; otherwise add it.  
    Top
    See Also