Click here to Skip to main content
15,911,715 members

Comments by Cüneyt Ayyıldız (Top 2 by date)

Cüneyt Ayyıldız 5-Jun-13 15:37pm View    
with my code;


<grid height="1000" margin="10" grid.row="1" width="Auto">
<gridview grid.row="1" name="GridV" itemssource="{Binding}">
<gridview.itemtemplate>
<datatemplate>
<grid height="487" width="299">
<Image HorizontalAlignment="Left" Height="397" VerticalAlignment="Top" Width="279" Margin="10,10,0,0" Source="{Binding Resim}" Stretch="UniformToFill"/>
<textblock textwrapping="Wrap" text="{Binding Isim}" margin="10,407,10,10" height="51" width="279" textalignment="Center" fontsize="26.667">



<gridview.itemcontainerstyle>
<Style TargetType="GridViewItem">
<setter property="HorizontalContentAlignment" value="Stretch">
<setter property="VerticalContentAlignment" value="Stretch">
<setter property="VariableSizedWrapGrid.RowSpan" value="{Binding ItemSize}">
<setter property="VariableSizedWrapGrid.ColumnSpan" value="{Binding ItemSize}">
</Style>






It's shown like this as a single line;
http://i.imgur.com/NvEPw0T.png

but it must be shown like this;
http://i.imgur.com/VBMJ47Q.png
Cüneyt Ayyıldız 5-Jun-13 5:48am View    
It's drawn by paint not from xaml code. The question how can i make a view like the picture with xaml?