GoDiagram Web 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 IsExpanded is true, this calls Collapse; otherwise this calls 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

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback