Forms , XAML , Events RRS feed

  • Question

  • Hi

    Just to get started I created an new WPF project. .

    I want to add an event to an button I drop to the form (Designer shows me it is the XAML file)

    The button is shown in the designer and the code in the XAML is generated. But first tehres no context menue on any Form or its components.

    So I show it manually via the VS Menu. But there no events?

    From one point of view this is correct because XAML is only an "Designer Format" but so how can I create an Click event to the button?

    In the Code file theres no reference to the button of the form.

    The Second thing is that I want to show in a really fast way some text. Which method is the most performant in .NET 3.0 to draw text by myself?

    Thanks for your help
    Sunday, September 24, 2006 4:55 PM


All replies