GeneralTransform generalTransform = lstitem.TransformToAncestor(this.BackStack);
 Point point = generalTransform.Transform(new Point(0, 0));

point是获得控件 kstitem 相对于控件 this.BackStack 的相对位置

相关文章:

  • 2022-12-23
  • 2021-12-21
  • 2021-08-24
  • 2022-01-27
  • 2021-09-05
  • 2022-12-23
猜你喜欢
  • 2022-01-07
  • 2021-08-13
  • 2021-10-05
  • 2022-01-10
  • 2021-12-24
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案