GoDiagram Win Reference
OnSingleClick Method (GoCollapsibleHandle)

Implement the single-click behavior for this handle, to toggle the expansion state of the IGoCollapsible that this handle is in.
Syntax
'Declaration
 
Public Overrides Function OnSingleClick( _
   ByVal evt As GoInputEventArgs, _
   ByVal view As GoView _
) As Boolean
public override bool OnSingleClick( 
   GoInputEventArgs evt,
   GoView view
)

Parameters

evt
view

Return Value

true if the parent IGoCollapsible.Collapsible property is true
Remarks
If IGoCollapsible.IsExpanded is true, this calls IGoCollapsible.Collapse; otherwise this calls IGoCollapsible.Expand. If the view is non-null, this method calls GoView.StartTransaction and GoView.FinishTransaction, with a transaction name specified by the value of GoUndoManager.CollapsedName or GoUndoManager.ExpandedName.
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

GoCollapsibleHandle Class
GoCollapsibleHandle Members
Base Implementation in OnSingleClick

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback