<Window x:Class="WWWings_WPF.F_XAMLSyntax"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="F_InlineCode" Height="300" Width="300"
    >
 <Grid>
  <Button Name="C_Button" Click="C_Button_Click">Bitte Klicken!</Button>
  <x:Code>
   <![CDATA[
    void C_Button_Click(object sender, RoutedEventArgs e)
    {
        C_Button.Content = "Danke!";
        MessageBox.Show("Danke!");
    }
  ]]>
  </x:Code>
 </Grid>
</Window>
