0
인라인 UI 소유자가있는 RTB가 있습니다. 목록에 저장하여 직접 액세스 할 수 있습니다. RTB에서 C#으로 제거하려면 어떻게해야합니까?WPF RichTextBox에서 InlineUIContainer 제거
코드 예제 : 여기
// for some TextPointer textPointer in my RTB
TextBlock tb = new TextBlock();
tb.Text = "hello world";
InlineUIContainer inlineUIContainer = new InlineUIContainer(tb, textPointer);
tb_list.Add(inlineUIContainer);
정확하게 당신이 "삭제"무엇을 의미합니까? – musefan
RichTextBox에서 제거하십시오. – JessMcintosh