GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoObjectEventArgs Class
In This Topic
    GoObjectEventArgs Class
    In This Topic
    Holds information for the GoView events involving both a GoObject and some input event.
    public class GoObjectEventArgs : GoInputEventArgs 

    This class knows about the GoObject that got clicked as well as about how and where the click happened. Such GoView events include: GoView.ObjectSingleClicked, GoView.ObjectDoubleClicked, GoView.ObjectContextClicked, and GoView.ObjectHover (in full Windows Forms).

    The GoView.ObjectSelectionDropReject event also uses this event argument class. Those event handlers may set the GoInputEventArgs.InputState property to be GoInputState.GoInputState.Cancel. GoObject may also be null in this case.

    See Also