Search Results for

    Show / Hide Table of Contents

    Delegate ZedGraphControl.LinkEventHandler

    A delegate that allows notification of clicks on ZedGraph objects that have active links enabled

    Namespace: ZedGraph
    Assembly: ZedGraph.WinForms.dll
    Syntax
    public delegate bool LinkEventHandler(ZedGraphControl sender, GraphPane pane, object source, Link link, int index);
    Parameters
    Type Name Description
    ZedGraphControl sender

    The source ZedGraphControl object

    GraphPane pane

    The source GraphPane in which the click occurred.

    Object source

    The source object which was clicked. This is typically a type of CurveItem if a curve point was clicked, or a type of GraphObj if a graph object was clicked.

    Link link

    The Link object, belonging to source, that contains the link information

    Int32 index

    An index value, typically used if a CurveItem was clicked, indicating the ordinal value of the actual point that was clicked.

    Returns
    Type Description
    Boolean

    Return true if you have handled the LinkEvent entirely, and you do not want the ZedGraphControl to do any further action. Return false if ZedGraph should go ahead and process the LinkEvent.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX