In a chart I add a large control and a button on top of the large control.
When using
ChartControl.Children.Add( btn1 ); System.Windows.Controls.Panel.SetZIndex( btn1, 10 );
As UserControlCollection.Add is the recommended way to add controls to a chart, one should do
UserControlCollection.Add( btn1 ); System.Windows.Controls.Panel.SetZIndex( btn1, 10 );
Thanks.
Comment