MediaElement::StretchDirection Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a value that determines the restrictions on scaling that are applied to the image.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
property StretchDirection StretchDirection {
	StretchDirection get();
	void set(StretchDirection value);
}

Property Value

Type: System.Windows.Controls::StretchDirection

The value that specifies the direction the element is stretched. The default is Both.

.NET Framework
Available since 3.0
Return to top
Show: