Gets the nesting depth of the running stream: 0 for the top-level run, 1 inside a form it paints, and so on.
public int Depth { get; }