// ! TextBlock public static void Bind(TextBlock tb) { var textContainer = TextContainerProperty.GetValue(tb); var editor = new InternalTextEditorHacker(textContainer, tb, false); IsReadOnlyProperty.SetValue(editor._internalTextEditor, true); TextViewProperty.SetValue(editor._internalTextEditor, TextContainerTextViewProperty.GetValue(textContainer)); }
set => SetValue(TextViewProperty, value);