SL: Binding the RichTextBox to a view model

Mar 21, 2011 at 1:04 AM

Hi. Is it possible to bind the RichTextBox control to a ViewModel just by conventions? Or do I have to do some tricks like putting it in a UserControl and exposing a DependecyProperty from there?


Just having a 

<RichTextBox   x:Name="FormattedText" />
doesn't work. 

Mar 21, 2011 at 4:02 AM

I don't think RTB is databindable in general.