AlignmentX Property
Collapse the table of content
Expand the table of content

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 AlignmentX AlignmentX { get; set; }

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:
© 2016 Microsoft