开发者

Silverlight Treeview item Coordinates

I am new to silverlight and stuck with a problem. I am trying to find out the coordin开发者_如何学运维ates of a treeviewitem. Can someone help me out?


I have found a way to get the coordinates.

GeneralTransform objGeneralTransformFlag = flagItem.TransformToVisual(Application.Current.RootVisual as UIElement);

Point pFlag = objGeneralTransformFlag.Transform(new Point(0, 0));

where flagItem is the treeViewItem

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜