GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoCollapsibleHandle Class / OnSingleClick Method
In This Topic
    OnSingleClick Method (GoCollapsibleHandle)
    In This Topic
    Implement the single-click behavior for this handle, to toggle the expansion state of the IGoCollapsible that this handle is in.
    Syntax
    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.
    See Also