In the code below on Visual Studio express C# i get an error saying that the name ‘handled’ does not exist in the current context. What am I doing wrong? return handled informs the software that it should not continue doing what it would normally do on a double click.
public class SettingsComponentAttributes : ComponentAttributes
{
public override ObjectResponse RespondToMouseDoubleClick(Canvas sender, CanvasMouseEvent e)
{
((SettingsComponent)Owner).ShowSettingsGui();
return handled;
}
}
Below is how I solved the issue: