GeneralTransform mygt = this.TransformToVisual(Application.Current.RootVisual as UIElement); Point offset = mygt.Transform(new Point(0, 0)); double controlTop = offset.Y; double controlLeft = offset.X;
8,735
社区成员
12,029
社区内容
加载中
试试用AI创作助手写篇文章吧