Windows Phone 7では、PhoneApplicationFrameを使用してメインフレームを次のように取得しています。
// set the main layout
if (frame == null)
{
frame = Application.Current.RootVisual as PhoneApplicationFrame;
}
しかし、フレームはまだnullです..なぜですか?