GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace
/
GoToolCreating Class
/ OneShot Property
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
In This Topic
OneShot Property
In This Topic
Whether this tool automatically stops itself on a mouse up event.
Syntax
C#
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
Reference
GoToolCreating Class
GoToolCreating Members