GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoToolCreating Class / OneShot Property
In This Topic
    OneShot Property
    In This Topic
    Whether this tool automatically stops itself on a mouse up event.
    Syntax
    public virtual bool OneShot {get; set;}

    Property Value

    This defaults to true.
    Remarks
    You might want to set this to false if Modal is true. When Modal is true and OneShot is false, each call to DoCreate occurs in its own transaction and this tool handles Ctrl-Z and Ctrl-Y to Undo and Redo each creation.
    See Also