WPF multiple pages with common UI methods
<p>I have an WPF application with multiple pages. Each page contains multiple TextBoxes. For the TextBoxes I have different methods for TextChanging, GotFocus, ...</p>

<p>I want to use a common class for all these methods. I tried to create a class <code>TextBoxHelpers.cs</code>, a <code>ResourceDictionary</code> with <code>&lt;local:TextBoxHelpers x:Key="TextBoxHelpers"/&gt;</code> inside and use it by setting <code>TextChanging="{StaticResource TextBoxHelpers.tbInput_TextChanging_Decimal}"</code> but it doesn't work.</p>

<p>What is the correct approach for using TextBox methods on multiple pages?</p>