<CollectionView Grid.Column="2" ItemsSource="{Binding Commands.Commands}">
<CollectionView.ItemsLayout>
<LinearItemsLayout Orientation="Horizontal"/>
</CollectionView.ItemsLayout>
<CollectionView.ItemTemplate>
<DataTemplate x:DataType="{x:Type base:RelayCommand}">
<ImageButton Padding="0" CornerRadius="0" Command="{Binding Command}"/>
</DataTemplate>
</CollectionView.ItemTemplate>
</CollectionView>
if i write this Command Property: Command=”{Binding Command}” im getting the fallowing error at
compiletime: The input string is in the wrong format.
But if i write it while im debugging its working. But cant recompile it.
removing the properties with binding let me compile the code.
writing the binding while debugging => works