-
Notifications
You must be signed in to change notification settings - Fork 75
YouTubeButton
Rico Suter edited this page Jun 3, 2015
·
2 revisions
- Package: MyToolkit.Extended
- Platforms: WP7SL, WP8SL
Button with an image preview of a YouTube video. Use the YouTubeButton
together with the YouTube class:
<YouTubeButton YouTubeID="[YouTube_Movie_Id]" Click="OnButtonClick" />
private void OnButtonClick(object sender, RoutedEventArg args)
{
var ctrl = (YouTubeButton) sender;
YouTube.Play(ctrl.YouTubeID, ...);
}