I found a similar question
, but none of the answers I came up.
Studio says that it is not the numbers (I suppose that ∞)
PointToScreen(new Point(this.Left, this.Top))
error: System.InvalidOperationException: "This Visual is not connected to a PresentationSource."
If it matters, the Window I have has the following properties:
AllowsTransparency="true" Background="Transparent" WindowStyle="None"