TextControlBox-WinUI
TextControlBox-WinUI copied to clipboard
IsReadOnly does not prevent modifications to text
It appears that the IsReadOnly property is not wired up. In CoreTextControlBox.xaml.cs, the IsReadOnly property has a TODO comment, and TextManager._isReadOnly is never set to anything but false.
I just noticed: typing letters into a read-only TextControlBox does nothing. But typing Enter inserts a newline.
Thanks for reporting this. I will try to fix this. Totally forgot about it, since I've never used it. My bad 🫣