Questions tagged [selectedtext]
93 questions
-1
votes
1 answer
How could I get user selected code in Visual Studio 2015
The selected.Contains throws a null pointer exception, even though the user has selected some code before invoking the method.
this.package = package;
string selected;
selected =…

Christmas
- 3
- 1
-2
votes
1 answer
Bind selected text in TextBox to the view model in WPF and by MVVM
I am new to WPF and MVVM.
I have a TextBox with some lines of text. I want to bind a piece of text highlighted by a user, to my ViewModel.
How can I do this without coding in code behind?

Sara Sheikhi
- 7
- 2
-2
votes
5 answers
Get selected option's text in an HTML select using jQuery
I have a html below. How can I get the text of second tag i.e. "Frame Size".
Frame…

Navin Bista
- 1,988
- 2
- 21
- 37