Selective Canvas.ZIndex between two controls
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
精彩评论