RichTextBox for UWP/WinRT
C1RichTextViewManager クラス
メンバ 

C1.Xaml.RichTextBox.Documents.C1Document のレイアウトと描画を調整します。
オブジェクト モデル
C1RichTextViewManager クラス
構文
'宣言
 
Public NotInheritable Class C1RichTextViewManager 
public sealed class C1RichTextViewManager 
解説

リッチテキストを表示するには、C1RichTextViewManagerC1RichTextPresenter と共に使用する必要があります。Presenters コレクションには、実際にコンテンツを表示する C1RichTextPresenter に C1RichTextViewManager を接続するための C1RichTextPresenterSource が含まれます。

Presenters コレクションには常に少なくとも1つの要素が含まれ、新しいプレゼンタが必要になると拡張または縮小します。これにより、新しいプレゼンタを作成するために必要に応じて Windows.UI.Xaml.Controls.ItemsControl を使用できます。次に、Document を表示する ItemsControl のサンプルを示します。

<Grid> <Grid.Resources> <c1rtb:C1RichTextViewManager x:Key="viewManager" Document="{StaticResource someDocument}"/> </Grid.Resources> <ItemsControl ItemsSource="{Binding Presenters, Source={StaticResource viewManager}}"> <ItemsControl.ItemTemplate> <DataTemplate> <Border Margin="10" BorderThickness="2" BorderBrush="Red" Padding="2" Height="102"> <c1rtb:C1RichTextPresenter Source="{Binding}"/> </Border> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </Grid>
継承階層

System.Object
   C1.Xaml.RichTextBox.C1RichTextViewManager

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

参照

関連項目

C1RichTextViewManager メンバ
C1.Xaml.RichTextBox 名前空間

Send Feedback