title: What should the converter parameter be for this binding
body: <p>I am trying to implement a wpf user control that binds a text box to a list of doubles using a converter. How can i set the instance of user control to be the converter parameter?</p>
  
  <p>the code for the control is shown below</p>
  
  <p>Thanks  </p>
  
  <pre><code>&lt;UserControl x:Class="BaySizeControl.BaySizeTextBox"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  
      xmlns:local="clr-namespace:BaySizeControl"
      &gt;
      &lt;UserControl.Resources&gt;
          &lt;local:BayListtoStringConverter x:Key="BaySizeConverter"/&gt;
      &lt;/UserControl.Resources&gt;
      &lt;Grid&gt;
  
          &lt;TextBox  Name="Textbox_baysizes" 
                    Text="{Binding RelativeSource={RelativeSource self},
                                  Path=Parent.Parent.BaySizeItemsSource, 
                                  Converter={StaticResource BaySizeConverter}}"
                    /&gt;
      &lt;/Grid&gt;
  &lt;/UserControl&gt;
  </code></pre>