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?