title: C# WPF - Problem with Material Design Textbox
body: <p>I'm new to programming and started to make an application for school. For that I use C# WPF and for a good-looking Application i installed Material Design.</p>
  
  <p>First i started the Demo of Material Design, where you can see what things you can use etc. with the good to copy. So after a quick view I found a nice TextBox with a border and a Checkbox on top of it. The code to copy was this</p>
  
  <pre><code>&lt;StackPanel&gt;
      &lt;CheckBox x:Name="MaterialDesignOutlinedTextFieldTextBoxEnabledComboBox"
                Margin="32,0,0,8" IsChecked="True"&gt;
          Enabled
      &lt;/CheckBox&gt;
  
      &lt;TextBox Height="100" VerticalAlignment="Top" Margin="32,0,0,0"
               TextWrapping="Wrap" AcceptsReturn="True"
               VerticalScrollBarVisibility="Auto"
               Style="{StaticResource MaterialDesignOutlinedTextFieldTextBox}"
               materialDesign:HintAssist.Hint="This is a text area"
               IsEnabled="{Binding Path=IsChecked, ElementName=MaterialDesignOutlinedTextFieldTextBoxEnabledComboBox}" /&gt;
  &lt;/StackPanel&gt;
  </code></pre>
  
  <p>Because I just needed the Textbox, I deleted the Code of the CheckBox and implemented the rest inside my application. So the code now is like this:</p>
  
  <pre><code>&lt;TextBox Height="100" Margin="32,0,0,0" VerticalAlignment="Top"
      TextWrapping="Wrap" AcceptsReturn="True"
      VerticalScrollBarVisibility="Auto"
      Style="{StaticResource MaterialDesignOutlinedTextFieldTextBox}"
      materialDesign:HintAssist.Hint="This is a text area" /&gt;
  </code></pre>
  
  <p>The problem now is, that I can't edit the textbox. I guess the TextBox is linked to the CheckBox and because I deleted it, somehow i can't write in it anymore.
  It all works fine with a standard textbox, but with the copied code i cant do anything, just see the TextBox with its rounded border.</p>
  
  <p>So can anyone help me, how I can implement the textbox with this border and so on AND while I can edit it? I don't know any solution for that right now, so I would appreciate it, if somebody could help me there.</p>
  
  <p>Thanks for your help.</p>