Is there a way to create control events with C# (other than manipulating the code manually)
I saw there is a way in VB, but in C#...
Thanks,
Neno
Is there a way to create control events with C# (other than manipulating the code manually)
I saw there is a way in VB, but in C#...
Thanks,
Neno
Create Events with C#
jkisha
There is no way to create control events from the designer in this CTP. You will have to switch to Code view and add the event handlers manually.
Thankfully, the IntelliSense functionality in Visual Studio 2005 makes that really easy.
Hades Pta
papaoso
This would be what I had expected.
Unfortunatly there is no event icon.
Do you see it while working with the XAML designer
-Neno
WarAngel
Yes, via the designer in VS.NET:
1) Select the control you want to create an event for (in design view).
2) Open up the Properties Windows (View->Properties Window).
3) Click on the Events icon in the Properties Window - it looks like a lightning bolt.
4) Select the event you want to implement for the control.
5) Press the [Enter] key.
6) To you're ready to implement the handling code for that event.
coyotedw
Yousef ED
We are talking about the WPF Designer ("Cider"), December CTP, that integrated into Visual Studio 2005.
-Neno