TaskbarItemInfo in Universal Windows Apps

How can I define TaskbarItemInfo in my Universal Windows App?

I want to add a custom media play button when displaying application thumbnails.

+3


source to share


1 answer


Nikolay, they are disabled by default. You must explicitly enable / disable this statement:

SystemMediaTransportControls.GetForCurrentView().ButtonPressed += SystemControls_ButtonPressed;
SystemMediaTransportControls.GetForCurrentView().IsPlayEnabled = true;
SystemMediaTransportControls.GetForCurrentView().IsPauseEnabled = true;

      



See this for reference: https://msdn.microsoft.com/en-us/library/windows/apps/xaml/mt228338.aspx

-1


source







All Articles