I try to pass from simple binding to MultiBinding for CommandParameter but can not find out the syntax for "{Binding}" in the following example for the multibinding example below. Thanks a lot for any hint !
Regards, Fabianus
<Button Content="Add subevent" HorizontalAlignment="Left" MinWidth="100" Command="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Window}}, Path=DataContext.AddEvent}" CommandParameter="{Binding}" />
CommandParameter with MultiBinding:
<Button Content="Add subevent" HorizontalAlignment="Left" MinWidth="100" Command="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Window}}, Path=DataContext.AddEvent}" >
<Button.CommandParameter>
<MultiBinding Converter="{StaticResource searchFilterConverter}">
<Binding Path="" />
<Binding RelativeSource="{RelativeSource Mode=FindAncestor,AncestorType=Window}" Path="DataContext.SelectedProduct" />
</MultiBinding>
</Button.CommandParameter>
</Button>