RichTextBox Binding is broken when text is manually modified or cleared

后端 未结 2 1795
我寻月下人不归
我寻月下人不归 2021-01-28 00:30

I have a RichTextBox bound to a string.

Using C# I generate a string that writes to it.

But if I want to manually change the text by clicking into t

2条回答
  •  梦如初夏
    2021-01-28 01:29

    Why you have to write this line. Please remove line after check.

    if (_ScriptView_Text == value)
    {
       return;
    }
    

提交回复
热议问题