Udostępnij za pośrednictwem


AlignmentY (ImageBrush)

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

Gets or sets the vertical alignment of images in the ImageBrush.

<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 image.

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 image that will apply to the target region.

Applies To

ImageBrush