How do I get my custom WPF textbox to fill correctly?
- by Dan Ryan
I am trying to create a custom WPF textbox control that extends the standard textbox control but the extended textbox behaves differently when placed in control containers. Within my Window I have a stackpanel with a standard textbox and my extended textbox:
<StackPanel Margin="10">
<TextBox Height="21" />
<l:SearchTextBox…