Image.PlayToSource property

Applies to Windows and Windows Phone

Gets the information that is transmitted if the Image is used for a Play To scenario.

Syntax


public PlayToSource PlayToSource { get; }

Property value

Type: PlayToSource

A reference object that carries the Play To source information.

Remarks

You can use Play To to enable users to easily stream audio, video, or images from their computer to devices in their home network. Image.PlayToSource is specifically for the XAML images version of this scenario.

Play To is part of the Devices charm. Users open the Devices charm to select devices from their home network that they can stream the media content to. When a user selects a Play To target from the Devices charm, Play To fires the SourceRequested event. Play To then streams the media element that was passed to the SetSource method to the target device that the user has selected. Image.PlayToSource provides the PlayToSource controller object that the PlayToManager can use in this scenario. For an example of how to use Play To in an application, see Quickstart: Using Play To in apps.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

Image
PlayToManager
Quickstart: Using Play To in apps
Play To sample

 

 

Show:
© 2014 Microsoft. All rights reserved.