Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TileBrush::AlignmentX Property

 

Gets or sets the horizontal alignment of content in the TileBrush base tile.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public:
property AlignmentX AlignmentX {
	AlignmentX get();
	void set(AlignmentX value);
}

Property Value

Type: System.Windows.Media::AlignmentX

A value that specifies the horizontal position of TileBrush content in its base tile. The default value is Center.

The AlignmentX and AlignmentY properties of a TileBrush are used when either of the following conditions is true:

Note that you specify the dimensions of TileBrush content by using the Viewbox property; you specify the position and size of the TileBrush base tile by using the Viewport property.

Identifier field

AlignmentXProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2017 Microsoft