Share via


SmoothStreamingMediaElement.Stretch Property

Gets or sets an object that determines how to stretch the media display.

Namespace:  Microsoft.Web.Media.SmoothStreaming
Assembly:  Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)

Syntax

'Declaration

Public Property Stretch As Stretch
    Get
    Set
'Usage

Dim instance As SmoothStreamingMediaElement
Dim value As Stretch

value = instance.Stretch

instance.Stretch = value
public Stretch Stretch { get; set; }
public:
property Stretch Stretch {
    Stretch get ();
    void set (Stretch value);
}
member Stretch : Stretch with get, set
function get Stretch () : Stretch
function set Stretch (value : Stretch)

Property Value

Type: System.Windows.Media.Stretch
An object that specifies how the media element should be stretched to fill the destination rectangle.

Version Information

Silverlight

Supported in: 5

Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

See Also

Reference

SmoothStreamingMediaElement Class

Microsoft.Web.Media.SmoothStreaming Namespace