Silverlight の PivotViewer コントロールの使用方法を学習しようとしています。Excel ツールを使用してコレクションを作成し、ファイルを「asdf」というフォルダーに出力しました。次に、このフォルダーをすべての内容とともに D: パーティションにコピーしました。コレクションを呼び出すために使用するコードは次のとおりです。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
namespace PivotTest
{
public partial class MainPage : UserControl
{
public MainPage()
{
InitializeComponent();
Pivot.LoadCollection(@"D:\asdf\my.cxml", string.Empty);
}
}
}
これは、フォルダー内の内容と、アプリケーションの実行時にブラウザーに表示される内容のスクリーンショットです。
私が間違っていることについて何か提案はありますか?助けてくれてありがとう!