AlignmentY Property (ImageBrush)

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

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

Property Value

AlignmentY

A value that specifies the vertical position of the image.

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

Remarks

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

Applies To

ImageBrush

See Also

Silverlight Brushes Overview