Hi there,
I have the following template that is almost as the one on the example, with two added properties: IsStreamingSource and
StreamAttached. However it does not activate the event handler on the StreamAttached.
<telerikMedia:RadMediaPlayer x:Name="player" |
VerticalContentAlignment="Top" |
HorizontalContentAlignment="Center" |
FullScreenChanged="player_FullScreenChanged" |
AutoPlaylistAdvance="False"> |
<telerikMedia:RadMediaPlayer.ItemTemplate> |
<DataTemplate> |
<telerik:ContainerBinding.ContainerBindings> |
<telerik:ContainerBindingCollection> |
<telerik:ContainerBinding PropertyName="Source" Binding="{Binding Source}" /> |
<telerik:ContainerBinding PropertyName="IsStreamingSource" Binding="{Binding IsStreamingSource}" /> |
<telerik:ContainerBinding PropertyName="StreamAttached" Binding="{Binding StreamAttached}" /> |
</telerik:ContainerBindingCollection> |
</telerik:ContainerBinding.ContainerBindings> |
<StackPanel HorizontalAlignment="Left" Orientation="Horizontal"> |
<Image Source="{Binding Image}" Width="200" Height="180" Stretch="Uniform" Margin="4" /> |
<TextBlock Text="{Binding Title}" VerticalAlignment="Center" Margin="4" /> |
</StackPanel> |
</DataTemplate> |
</telerikMedia:RadMediaPlayer.ItemTemplate> |
</telerikMedia:RadMediaPlayer> |
Can you please help me to make this to work.
Thanks