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
125
how to xamtile auto resize
posted

hello i'm using xamtile in xamtilemanager 9X9

I want xamtile to automatically resize


<picture 1> xaml

<ig:NormalModeSettings HorizontalTileAreaAlignment="Stretch" VerticalTileAreaAlignment="Stretch" TileLayoutOrder="Horizontal" AllowTileDragging="Swap" AllowTileSizing="No">
<ig:NormalModeSettings.TileConstraints>
<ig:TileConstraints PreferredHeight="1" PreferredWidth="300"/>
</ig:NormalModeSettings.TileConstraints>
</ig:NormalModeSettings>

<picture 2>

<ig:NormalModeSettings HorizontalTileAreaAlignment="Stretch" VerticalTileAreaAlignment="Stretch" TileLayoutOrder="Horizontal" AllowTileDragging="Swap" AllowTileSizing="No">
<ig:NormalModeSettings.TileConstraints>
<ig:TileConstraints PreferredHeight="1" PreferredWidth="400"/>
</ig:NormalModeSettings.TileConstraints>
</ig:NormalModeSettings>

I want to use 
 <ig:TileConstraints PreferredHeight="auto" PreferredWidth="auto"/> but auto
is can't.
In addition, binding to PreferredHeight and Preferredwidth is not possible.
Is there any way to automatically align the xamtile without specifying the size?

Parents
  • 125
    Offline posted
    sorry 9x9 is 3x3. The reason I need autosize is that I also need 4x4 = 16xamtile. However, if you apply <ig:TileConstraints PreferredHeight="1" PreferredWidth="400"/> to 4x4, the alignment is not done.
Reply Children