Mar 23, 2010 at 10:00 PM
Edited Mar 24, 2010 at 3:40 PM

I'm trying to have something show only when IsSelected. Here's a quickie example

      <Grid Visibility="{Binding IsSelected, Converter{StaticResource visConv}}">

Yet when you bind to IsSelected they all show up. Is this correct?

I was even going to try it in the SelectedItemChanged in the control itself, but that just dies on build:
Error > No overload for 'flowControl_SelectedItemChanged' matches delegate 'SelectedItemChangedEvent

Generated function example:

void flowControl_SelectedItemChanged(CoverFlowEventArgs e)

Any ideas? Just want to show something only on the frontmost selected item.

Feb 8, 2012 at 3:48 PM

use on the fly add event handler as below:


public MainPage()

flowControl.ItemsSource = trailers;

KeyDown += flowControl.OnKeyDown;

media.MediaEnded += new RoutedEventHandler 


media.MediaFailed +=new EventHandler<ExceptionRoutedEventArgs 


media.BufferingProgressChanged +=new RoutedEventHandler


MouseWheel +=new MouseWheelEventHandler


Loaded +=new RoutedEventHandler


flowControl.SelectedItemChanged += new SelectedItemChangedEvent








trailers =new ObservableCollection<MovieTrailer>();