title: Wpf public property as ConvertParameter
body: <p>ConvertParameter as public propoerty</p>
  
  <p>I would add a parameter to my converter "FormatValues". This is the XAML code:</p>
  
  <pre><code>&lt;ItemsControl ItemsSource="{Binding Data.Points}" Grid.IsSharedSizeScope="True"&gt;
      &lt;ItemsControl.ItemTemplate&gt;
          &lt;DataTemplate DataType="{x:Type wpf:DataPointViewModel}"&gt;
              &lt;Grid Margin="2"&gt;
                  &lt;Grid.ColumnDefinitions&gt;
                      &lt;ColumnDefinition Width="Auto" SharedSizeGroup="Title"/&gt;
                      &lt;ColumnDefinition Width="Auto" SharedSizeGroup="Value"/&gt;
                  &lt;/Grid.ColumnDefinitions&gt;
                  &lt;TextBlock Grid.Column="0" Text="{Binding Series.Title}" Margin="2,1" /&gt;
                  &lt;TextBlock Grid.Column="1" Text="{Binding ChartPoint.Y, Converter={StaticResource FormatValues}}" Margin="2,0" FontFamily="{StaticResource fntRoboto}" /&gt;
              &lt;/Grid&gt;
          &lt;/DataTemplate&gt;
      &lt;/ItemsControl.ItemTemplate&gt;
  &lt;/ItemsControl&gt;
  </code></pre>
  
  <p>My code behind: </p>
  
  <pre><code>public partial class ViewerStatisticsTT : IChartTooltip
      {
          public bool Antani { get; set; }
  
          public ViewerStatisticsTT()
          {
              InitializeComponent();
              DataContext = this;            
          }
      }   
  </code></pre>
  
  <p>The istance of my class in another one is this:</p>
  
  <pre><code>&lt;userControls:ViewerStatisticsTT Antani="True" /&gt;
  </code></pre>
  
  <p>Basically I want take the value of "Antani" parameter and use it as ConvertParameter. Any hints?</p>