I am having a performance problem binding a large string to a a TextBox in WPF.
In the view I am binding a TextBox's Text property to the view model's Output property which is a StringBuilder.
View:
<TextBox Text="{Binding Output, Mode=OneWay}" IsReadOnly="True"/>
ViewModel:
public StringBuilder Output
{
get { return _output; }
}
As the text in the StringBuilder gets larger the performance of the binding degrades.
What's a better way to do this using MVVM?