Partager via


AlignmentY (VideoBrush)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the vertical alignment of the video from the VideoBrush.

<object AlignmentY="AlignmentY"  .../>
value = object.AlignmentY
object.AlignmentY = value

Property Value

Type: AlignmentY

A value of the enumeration that specifies the vertical position of the video.

This property is read/write. The default value is Center.

Managed Equivalent

AlignmentY

Remarks

In addition to AlignmentX and AlignmentY, the Stretch property also affects the portion of the source that will apply to the target region.

Applies To

VideoBrush