Search Results for

    Show / Hide Table of Contents

    Class ValuesToolTip

    Inheritance
    Object
    ValuesToolTip
    Implements
    IValuesToolTip
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: ZedGraph
    Assembly: ZedGraph.WinForms.dll
    Syntax
    public class ValuesToolTip : IValuesToolTip

    Constructors

    | Improve this Doc View Source

    ValuesToolTip(Control, Action<Boolean>, Action<Control, String>)

    Initializes a new instance of the ValuesToolTip class.

    Declaration
    public ValuesToolTip(Control control, Action<bool> activeCallback, Action<Control, string> setToolTipCallback)
    Parameters
    Type Name Description
    Control control

    The control.

    Action<Boolean> activeCallback

    The active callback.

    Action<Control, String> setToolTipCallback

    The set tool tip callback.

    Exceptions
    Type Condition
    ArgumentNullException

    control or activeCallback or setToolTipCallback

    Properties

    | Improve this Doc View Source

    ActiveCallback

    Gets the delegate that is called when the active state of the tool tip is changed.

    Declaration
    public Action<bool> ActiveCallback { get; }
    Property Value
    Type Description
    Action<Boolean>

    The active state delegate callback.

    | Improve this Doc View Source

    Control

    Gets the control that this tool tip instance handles.

    Declaration
    public Control Control { get; }
    Property Value
    Type Description
    Control

    The control that this tool tip instance handles.

    | Improve this Doc View Source

    SetCallback

    Gets the callback delegate to call when the caption is set.

    Declaration
    public Action<Control, string> SetCallback { get; }
    Property Value
    Type Description
    Action<Control, String>

    The callback delegate to call when the caption is set.

    Methods

    | Improve this Doc View Source

    Create(Control, ToolTip)

    Creates a ValuesToolTip for the specified control, using the supplied tooltip to display values.

    Declaration
    public static ValuesToolTip Create(Control control, ToolTip toolTip)
    Parameters
    Type Name Description
    Control control

    The control.

    ToolTip toolTip

    The tool tip.

    Returns
    Type Description
    ValuesToolTip
    Exceptions
    Type Condition
    ArgumentNullException

    toolTip

    | Improve this Doc View Source

    Disable()

    Disables the tool tip.

    Declaration
    public void Disable()
    | Improve this Doc View Source

    Enable()

    Enables the tool tip.

    Declaration
    public void Enable()
    | Improve this Doc View Source

    Set(String)

    Sets the specified caption.

    Declaration
    public void Set(string caption)
    Parameters
    Type Name Description
    String caption

    The caption.

    | Improve this Doc View Source

    Set(String, Point)

    Sets the caption for the tool tip at the specified point.

    Declaration
    public void Set(string caption, Point point)
    Parameters
    Type Name Description
    String caption

    The caption.

    Point point

    The point.

    Implements

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