I have a problem with ImageBrush
:
<Window ... >
<Grid>
<Grid.Background>
<ImageBrush ImageSource="Controls\Images\notebook_paper_Line.jpg" TileMode="FlipX"
Viewport="0,0,1,0.09" />
</Grid.Background>
</Grid>
</Window>
I want to repeat image while user resizing window. But currently image gets scale while user resizing window. (Note that image size is small and I use TileMode
and Viewport
to repeat it, And problem occurs while resizing it!).
Any XAML code will be great! :)
and i'm sorry for bad english!!!