0
Xaml(正確にはFlowDocument
)にHTMLを変換し、XamlReader
を使用して新しく作成したFlowDocument
を解析します。新しいFlowDocument
をRichTextBox
に挿入しますが、Hyperlink
などのFLowDocument
要素には、どのアプリケーションレベルのスタイルも適用されません。 私のスタイルのいずれかの例:XamlReaderを使用してFlowDocumentを解析してRichTextBoxに挿入するときの壊れたスタイル
<Style TargetType="{x:Type Hyperlink}">
<Setter Property="Background" Value="DarkBlue" />
<Setter Property="Cursor" Value="Hand" />
</Style>
誰も私はこの1つを把握助けることができますか? ありがとう!