MediaElement.StretchDirection Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that determines the restrictions on scaling that are applied to the image.
public:
property System::Windows::Controls::StretchDirection StretchDirection { System::Windows::Controls::StretchDirection get(); void set(System::Windows::Controls::StretchDirection value); };
public System.Windows.Controls.StretchDirection StretchDirection { get; set; }
member this.StretchDirection : System.Windows.Controls.StretchDirection with get, set
Public Property StretchDirection As StretchDirection
Property Value
The value that specifies the direction the element is stretched. The default is Both.
Examples
Remarks
Dependency Property Information
| Item | Value |
|---|---|
| Identifier field | StretchDirectionProperty |
Metadata properties set to true |
AffectsMeasure |