GoDiagram Win Reference
SelectionObject Property (GoObject)

Gets the object that gets selection handles when this object is selected.
Syntax
'Declaration
 
<CategoryAttribute("Appearance")>
<DescriptionAttribute("The object that will get the selection handles when this object is selected.")>
Public Overridable ReadOnly Property SelectionObject As GoObject
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The object that will get the selection handles when this object is selected.")]
public virtual GoObject SelectionObject {get;}
Remarks
Sometimes when an object gets selected, you want to make it look like another object is what really got selected. Normally this happens for groups, where you don't want to have selection handles on the whole group, but only on some particular child object. This property allows you to specify which object should get selection handles when this object gains selection. The default value is this object itself. The selection object's CanResize method will control if that object gets resize selection handles and if the user can actually resize that object. You should be careful to make sure the value of this property is not confusing to the user. Returning unrelated or varying objects may produce indeterminate behavior.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoObject Class
GoObject Members
OnGotSelection Method
AddSelectionHandles Method

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback