I'm building an application to calculate some prices for different objects. In my Window I have a DataGrid bound to an ObservableCollection where all the objects are displayed. Additionally I have a checkbox bound to a boolean which on check should change prices to either before or after tax. To do so I've tried using a MultiValueConverter but I can't figure out how to pass the property bound to my checkbox (I know the reason is that BeforeTax is outside of the ItemSource).
<Checkbox IsChecked={Binding BeforeTax}/>
<DataGrid ItemSource={Binding ArticleCollection}>
<DataGridTextColumn Head="Price">
<DataGridTextColumn.Binding>
<MultiBinding Converter="{StaticResource BeforeAfterTaxMultiConverter}">
<Binding Path="Price"/>
<Binding Path="BeforeTax"/>
</MultiBinding>
</DataGridTextColumn.Binding>
</DataGridTextColumn>
</DataGrid>