Hi,
i'm using the example "RadListBox Drag and Drop":
Now i want to add a "popup-control" to the ListboxItems.
But how do i open the popup when i click a Listboxitem or onmouseover on listboxitem?
Thanks
Rene
i'm using the example "RadListBox Drag and Drop":
<Grid> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Border Grid.Row="0" Height="22" BorderBrush="#FFD6D4D4" BorderThickness="0,0,0,1" VerticalAlignment="Top" Background="#FFF7F7F7" HorizontalAlignment="Stretch"> <TextBlock Style="{StaticResource HeaderTextBlockStyle}" Text="Final tournament" Margin="6 2 2 2" /> </Border> <telerik:RadListBox Grid.Row="1" AllowDrop="True" ItemsSource="{Binding GroupD}" ItemTemplate="{StaticResource ListBoxItemTemplate}"> <telerik:RadListBox.DragVisualProvider> <telerik:ScreenshotDragVisualProvider /> </telerik:RadListBox.DragVisualProvider> <telerik:RadListBox.DragDropBehavior> <telerik:ListBoxDragDropBehavior AllowReorder="True" /> </telerik:RadListBox.DragDropBehavior></telerik:RadListBox> </Grid>Now i want to add a "popup-control" to the ListboxItems.
<Popup x:Name="popUpnotifyIcon" AllowsTransparency="True" PopupAnimation="Fade" Placement="Top" PlacementTarget="{Binding ElementName=yahoo}" HorizontalOffset="0" VerticalOffset="20" > <Viewbox VerticalAlignment="Top" > <TextBlock Text="dfsdfsdf" /> </Viewbox></Popup>But how do i open the popup when i click a Listboxitem or onmouseover on listboxitem?
Thanks
Rene