开发者

Selective Canvas.ZIndex between two controls

开发者 https://www.devze.com 2023-02-19 07:37 出处:网络
I have two chart component开发者_Python百科s. One is set a higher Canvas.ZIndex than the other. But, I want the axis of the chart with the higher Canvas.ZIndex to have a lower Canvas.ZIndex than the a

I have two chart component开发者_Python百科s. One is set a higher Canvas.ZIndex than the other. But, I want the axis of the chart with the higher Canvas.ZIndex to have a lower Canvas.ZIndex than the axis of the chart with the lower Canvas.ZIndex. The axis is expectedly in the subtree of the chart. Is this possible?


You should use the Adorner Layer, which is always above anything else, and made specifically for those situations.

http://msdn.microsoft.com/en-us/library/ms743737.aspx

0

精彩评论

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