Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私text in particular place in RichtextBoxはwpfで自分を設定したいだけです:
text in particular place in RichtextBox
richTextBox1.SelectionLength = text_length;
動作しません。
これを試してください。お役に立てば幸いです。
RichTextBox richtexbox=(RichTextBox)(FindResource("richbox1")); richtexbox.Padding = new Thickness(15, 10, 12, 15);