Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
115
XamWebTileView does not Stretch vertically
posted

If I put the XamlWebTileView inside Grid without specifying any row or column, it will stretch nicely both horizontal or vertical. However, if I speficy the Grid.Row/Grid.Column location, the XamlWebTileView does not stretch vertically.

It also the same as Stack Panel. Can some one help me what I should do to have a vertical stretch? Thanks for any feedbacks.

--------------------------------------------------------------------------------------------------------------------------------------

<StackPanel x:Name="LayoutRoot" Orientation="Vertical" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Background="#FF336699" Width="Auto" Height="Auto">
       <igTV:XamWebTileView x:Name="TileView1" >
          ...etc
        </igTV:XamWebTileView>
</StackPanel>

 

 

Parents
No Data
Reply
  • 3071
    Suggested Answer
    posted

    Hi Franky,
    It is better to put TileView in a Grid. This should work:
    <Grid x:Name="LayoutRoot" Background="White" ShowGridLines="True">
    <Grid.RowDefinitions><RowDefinition/><RowDefinition/></Grid.RowDefinitions>
    <Grid.ColumnDefinitions><ColumnDefinition/><ColumnDefinition/></Grid.ColumnDefinitions>
    <igTV:XamWebTileView ItemsSource="123456789" Grid.Row="1" Grid.Column="1"/>
    </Grid>
     Marin

     

     

Children
No Data