I want to use the ValidationRules (and it\'s UI effects) on the textbox without actually binding anything to the textbox.
I want to use the textbox for some input t
Your code-behind should be as independent of the GUI as possible, so I would recommend you to create a property and bind to that. When you want to pass the text to the method, just pass the value of the property.