GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / IGoActionObject Interface
Members
In This Topic
    IGoActionObject Interface
    In This Topic
    This interface specifies ways for the GoToolAction tool to invoke actions on objects.
    Syntax
    public interface IGoActionObject 
    Remarks
    Tools (IGoTool) are ways to easily specify behavior in response to mouse events for a whole GoView. To have a GoObject specify mouse-event behavior, have your object subclass implement this interface, and make sure the GoView's GoView.MouseDownTools list starts with an instance of GoToolAction, as it does by default. The GoToolAction will handle mouse events and set the properties and invoke the methods of the object implementing this interface. Typically this will be some object where a click (and perhaps a drag) should execute some code. One such class is GoButton.
    See Also