Share via


AlignmentX Property (ImageBrush)

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

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

Property Value

AlignmentX

A value that specifies the horizontal position of the image when applied to the brush.

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