You will have to create the Multivalueconveter for this:
Xaml:
converter:
<local:MyConverter x:Key="myConverter" />
Button:
<Button>
<Button.CommandParameter>
<MultiBinding Converter="{StaticResource myConverter}">
<Binding Path="" ElementName=""/>
<Binding Path=""/>
<Binding Path=""/>
</MultiBinding>
</Button.CommandParameter>
</Button>
C#
public class MyConverter : IMultiValueConverter
{
public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
return values;
}
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture)
{
throw new NotImplementedException();
}
}
you will get the object array in the command handler.
Thanks