Click here to Skip to main content
16,012,028 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
the error occurs like 'Silverlight.Canvas' does not contain a defenition for SetZIndex

my code is given below:

C#
private void rectFirst_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            Canvas.SetZIndex(rectFirst, 2);
            Canvas.SetZIndex(rectSecond, 1);
        }


Thanks in Advance
Posted

1 solution

Here[^]. It looks like you set a ZIndex property, not call a method called 'SetZIndex'
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900