Tech Off Post

Single Post Permalink

View Thread: I always get a black backgraound with DrawingContext in WPF
  • User profile image

    Using dv in the key event: - dv.Offset.X and Y- just give me zeros, not the relative position

    Have you tried actually setting the offset? Initially the offset is 0 so no wonder you get zeroes...