Hello,
Is there any chance I can place popup next to an item from ListBox? I use MVVM, list is bound to elements, and for some choosen elements I want to show popup next to the item.
I have list of elements and I want to show popup when I click on specified list element, but popup should be shown next to selected list item.
I tried something like this (it doesn't work):
<Popup IsOpen="{Binding Path=ShowPopup}" PlacementTarget="{Binding ElementName=List1, Path=SelectedItem}" Placement="Center">
<TextBox Background="Red" Height="120" Text="Aaaaaa FUUUUUUUUUUUUU....."></TextBox>
</Popup>
I don't want to use code behind, only xaml