Open file dialog and select a file using WPF controls and C#
I have a TextBox named textbox1 and a Button named button1. When I click on button1 I want to browse my files to … Read more
I have a TextBox named textbox1 and a Button named button1. When I click on button1 I want to browse my files to … Read more
Does anybody know how to move the keyboard caret in a textbox to a particular position? For example, if a text-box (e.g. input … Read more
If I call SelectAll from a GotFocus event handler, it doesn’t work with the mouse – the selection disappears as soon as mouse … Read more
How to allow TextBlock‘s text to be selectable? I tried to get it to work by displaying the text using a read-only TextBox … Read more
How can I put some text into a TextBox which will be removed automatically when the user types something in it? 34 Answers … Read more
I have a textbox with the .Multiline property set to true. At regular intervals, I am adding new lines of text to it. … Read more
I’m looking to accept digits and the decimal point, but no sign. I’ve looked at samples using the NumericUpDown control for Windows Forms, … Read more
I have a web form with a text box in it. How do I go about setting focus to the text box by … Read more
I am developing an app for sending some feedback. Basically I’m trying to make a TextBox for comments, but I’m used to the … Read more
I want to detect whenever a textbox’s content has changed. I can use the keyup method, but that will also detect keystrokes which … Read more