WPF のテキスト システムは、主に、脚注やヘッダーなどを含む複雑なドキュメントを作成するためではなく、UI で使用するテキストを操作するために設計されています。ただし、フレームワークは、カスタム機能を追加したい場合にできるように作成されています。
最初の問題: テキストとインラインの脚注など。WPF は、 をテキストに入れるための 2 つのクラスを提供UIElement
します:InlineUIContainer
とBlockUIContainer
. 脚注または同様の動作をするように特別に設計された独自のカスタム コントロールを作成し、それらの 2 つのクラスのいずれかに配置することを検討します。何を受け入れるかについての詳細情報が必要な場合は、MSDN でこの便利でダンディな関係図を見つけました (リンクはページの下部にあります)。

(ソース: microsoft.com )
「雑誌的な話の流れ」というのが何を指しているのかよくわかりません。Block
'FlowDocument' は、 から派生したクラス (上記のチャートで青色で示されているもの) を使用可能なスペースに自動的に配置し、Floater
およびFigure
inline 要素を使用して、オブジェクトの周りにテキストを 'フロー' にすることができます。ヘッダーとフッター機能にFigure
andを使用することもできます。Floater
コード例を次に示します。
<FlowDocumentScrollViewer>
<FlowDocument>
<Paragraph>
5 green bottles standing on the wall,
5 green bottles standing on the wall,
and if one green bottle was to accidentally fall,
there would be 4 green bottles standing on the wall;
</Paragraph>
<Paragraph>
4 green bottles standing on the wall,
4 green bottles standing on the wall,
<Floater HorizontalAlignment="Left" Width="250">
<BlockUIContainer>
<Button>This button is in a Floater</Button>
</BlockUIContainer>
</Floater>
and if one green bottle was to accidentally fall,
there would be 3 green bottles standing on the wall;
</Paragraph>
<Paragraph>
3 green bottles standing on the wall,
3 green bottles standing on the wall,
and if one green bottle was to accidentally fall,
there would be 2 green bottles standing on the wall;
</Paragraph>
<Paragraph>
2 green bottles standing on the wall,
2 green bottles standing on the wall,
and if one green bottle was to accidentally fall,
<InlineUIContainer>
<Button>This Button is inline</Button>
</InlineUIContainer>
there would be 1 green bottle standing on the wall...
</Paragraph>
</FlowDocument>
</FlowDocumentScrollViewer>
s を独自のカスタム コントロールに置き換えることができButton
ます (例: インライン ボタンを脚注のタンに置き換えます)。
このコードは次のようになります。

それが役立つことを願っています!あなたが何をしようとしているのか正確にはわかりませんがFlowDocument
、WPFで提供される大量のテキスト操作機器を引き続き使用して使用することができ、追加の機能/レイアウトオプションが必要な場合は、継承Block
または新しいクラスを作成しますInline
または何でも、.netがあなたのためにできるすべての仕事を利用するためにそこに余分なものを書きます. さらに情報が必要な場合は、MSDN で WPF のテキストに関する詳細を読むことができます。
FlowDocument の使い方に関する非常に長い記事
WPF で使用されるテキスト コンテンツ モデル (画像の取得元)
楽しんでください:)