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
615
Add Scrollbars to tile when tile is => specified size
posted

What I want to do is have a horizontal or vertical scrollbar appear within the tile when it is equal to or less than a specified size. It should be able to scroll the entire content within the tile.

In this instance, I would like the horizontal scrollbar to appear when the tile is less than the preferred width, and the vertical scrollbar to appear when the height is less than 790 pixels. How can I accomplish this?

I have the following code for my XamTiles when they are in Normal Mode:

<ig:XamTileManager.NormalModeSettings>

<ig:NormalModeSettings AllowTileSizing="Individual"
VerticalTileAreaAlignment="Stretch"
HorizontalTileAreaAlignment="Left"
ShowAllTiles="False"
MaxColumns="10"
MinColumns="1"
MaxRows="1"
TileLayoutOrder="Vertical"
ShouldAnimate="True"
ExplicitLayoutTileSizeBehavior="SynchronizeTileHeightsAcrossColumns">

<ig:NormalModeSettings.TileConstraints>
<ig:TileConstraints PreferredWidth="875"
PreferredHeight="{Binding ElementName=MainTiles, Path=ActualHeight}"
MinHeight="400"
MinWidth="400"
VerticalAlignment="Top"
HorizontalAlignment="Left" />
</ig:NormalModeSettings.TileConstraints>

</ig:NormalModeSettings>

</ig:XamTileManager.NormalModeSettings>

Parents Reply Children
No Data