TileMode Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Describes how a TileBrush paints tiles onto an output area.

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

type TileMode

Member nameDescription
FlipX

The same as Tile except that alternate columns of tiles are flipped horizontally. The base tile itself is not flipped.

FlipXY

The combination of FlipX and FlipY. The base tile itself is not flipped.

FlipY

The same as Tile except that alternate rows of tiles are flipped vertically. The base tile itself is not flipped.

None

The base tile is drawn but not repeated. The remaining area is transparent

Tile

The base tile is drawn and the remaining area is filled by repeating the base tile. The right edge of one tile meets the left edge of the next, and similarly for the bottom and top edges.

The following illustration shows the different tile modes.

Available tile modes

Available tile modes for the TileMode enumeration

.NET Framework
Available since 3.0
Return to top
Show: