まず、generic.xamlからTreeView用のスタイルをコピーして、ページのリソースに貼り付けます。 generic.xamlを開くには、MainPage.xamlの冒頭部分にあるBackgroundプロパティの ApplicationPageBackgroundThemeBrush 部分にカーソルを置いて[F12]キー(定義へ移動)を押すと速いです。
Some results have been hidden because they may be inaccessible to you
Show inaccessible results