Automatically draws a complete object on the first user click.
public bool DrawOnClick { get; set; }
true to automatically draw a complete object on the first user click; otherwise, false. The default value is false.
When DrawOnClick is false (the default value), the user must click to draw the first point of the rectangle (top-left corner), and then drag and release to draw the second point (bottom-right). The object is added to the container only after the user finishes the entire operation.
When DrawOnClick is set to true, a new rectangle object is added to the container as soon as the user clicks to select the first point (top-left corner). The size of the rectangle is fixed to 100 by 100 annotation units.