public void PerformMouseDown(MouseEventArgs e) { if (IsOverflow(e)) { return; } if (e is StylusEventArgs) { if (this.SupportsInk) { StylusDown(e as StylusEventArgs); } // if the tool does not claim ink support, discard } else { if (this.SupportsInk) { DocumentWorkspace.Focus(); } MouseDown(e); } }