Hello,
when I d*ouble-click* - or click once when its already focused - below the items in a empty area of the Listbox which is within my DataGridTemplateColumn then I get the above error message.
WHAT do I wrong?
This is my Code:
<DataGridTemplateColumn Width="0.3*" Header="Attachments">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<StackPanel Orientation="Vertical">
<Button>Add</Button>
<Button>Delete</Button>
<ListBox Name="itemListBox" BorderThickness="0" ItemsSource="{Binding Attachments}" >
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Vertical" Margin="5">
<TextBlock Text="{Binding DocumentFilename}" />
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</StackPanel>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
Regard that image where I click below the "myPhotos.png" item entry:
EDIT: this error is also already visible in XAML via tooltip just haven`t seen that error tooltip...