RichTextBoxFormatBar を利用できるように Extended WPF Toolkit を使用しようとしましたが、円を描いているようです。ここや他のサイトでいくつかの例を試してみましたが、同じエラーメッセージが表示され続けます:
The attachable property 'FormatBar' was not found in type 'RichTextBoxFormatBarManager'.
The type 'toolkit:RichTextBoxFormatBar' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.
私はWPFを初めて使用するので、バグではなく拾っていないことを知っています.誰かが私が間違っていることを教えて、私の正気を救うことができますか?
<UserControl x:Class="TestWPF_Richtextbox.UserControl1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:toolkit="http://schemas.xceed.com/wpf/xaml/toolkit"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300">
<Grid>
<RichTextBox>
<toolkit:RichTextBoxFormatBarManager.FormatBar>
<toolkit:RichTextBoxFormatBar />
</toolkit:RichTextBoxFormatBarManager.FormatBar>
</RichTextBox>
</Grid>
</UserControl>
編集: ライブラリとプロジェクトの両方が .Net 4 です。WPFToolkit.Extended.dll のバージョンは V.1.6.0.0 です。