Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Register
Login
How to get selected text of a WPF TextBox
WhatsApp
Soft Dev
12y
14
k
0
5
Resource
0
Here is a TextBox.
<TextBox Name=
"TextBox1"
>
Here is some text
</TextBox>
This is how to get the selected text:
String selText =
TextBox1
.SelectedText;
WPF TextBox