Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

WrapPanel does not fit my images

$
0
0

Hi all of you,

I am trying to allocate images in one Wrappanel control but when the row is finish and I hope it does begin just below the first icon.. and it goes further down..

my view:

<WrapPanel VerticalAlignment="Top" HorizontalAlignment="Right" Height="412" ScrollViewer.VerticalScrollBarVisibility="Visible" 
			ScrollViewer.HorizontalScrollBarVisibility="Visible"  ScrollViewer.CanContentScroll="True"><local:BotoEspecial Margin="0,0,10,208"><local:BotoEspecial.IconImage><BitmapImage UriSource="/Imagenes/Logos_Marcas/Alfa_Romeo_56.jpg"></BitmapImage></local:BotoEspecial.IconImage></local:BotoEspecial>


..
..
..
..
..

As a result you will see GM icon on the bottom instead of just below to Alfa Romeo icon, yes it is a silly thing I know it:

thanks for your help,


Primary platform is Windows 7 Ultimate 64 bit along with VS 2012/Sql2k8 for WPF and SilverLight stuff


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>