Share via


TileBrush.Stretch Property

Definition

Gets or sets a value that specifies how the content of this TileBrush stretches to fit its tiles.

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

void Stretch(Stretch value);
public Stretch Stretch { get; set; }
var stretch = tileBrush.stretch;
tileBrush.stretch = stretch;
Public Property Stretch As Stretch
<brush Stretch="stretchMemberName"/>

Property Value

A value that specifies how this TileBrush content is projected onto its base tile. The default value is Fill.

Applies to