标签:
GeneralTransform generalTransform = lstitem.TransformToAncestor(this.BackStack); Point point = generalTransform.Transform(new Point(0, 0));
point是获得控件 kstitem 相对于控件 this.BackStack 的相对位置
WPF中获得控件相对于控件的相对位置
原文地址:http://www.cnblogs.com/zhaolili/p/5133961.html