App.Xaml

■App.Xaml

<Application x:Class="WpfApp1.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:local="clr-namespace:WpfApp1"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
         
    </Application.Resources>
</Application>

 

・x:Class:App.Xamlのコードビバインド

     他の画面も同様、x:Classでコードビバインドとなる

     クラスが定義されている。

・StartupUri:アプリのエントリポイントとなるウィンドウを指定