1

ウィンドウの 8 つのアプリ Webview Control について質問があります。css を使用して webview の外観を管理する方法はありますか? CSSなので、WebviewのCSSを管理できる方法はありますか?

UPATED : これはコードです

void ItemListView_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {


            //  this code to populate the web view
            //  with the content of the selected blog post.
            // I'm passing the selected item from the previous items' page
            // and then pouplate the web view with the selected item Contents of the feed 


            if (this.UsingLogicalPageNavigation()) this.InvalidateVisualState();

            Selector list = sender as Selector;
            FeedItem selectedItem = list.SelectedItem as FeedItem;
            if (selectedItem != null)
            {
                this.contentView.NavigateToString(selectedItem.Contents);
            }
            else
            {
                this.contentView.NavigateToString("");
            }  

        }

ここに画像の説明を入力

4

1 に答える 1

0

NavigateToString() でナビゲートする場合 - ナビゲート先の html 文字列内に CSS を配置できます。それ以外の場合は、問題なく動作するはずであり、実際に何をしているかについての詳細が必要になります。

于 2013-01-30T16:30:42.257 に答える