Version

Modify Tile Behaviors in Maximized Mode

The xamTileManager™ exposes a MaximizedModeSettings property that allows you to modify the behavior of tiles in the maximized, minimized and minimized-expanded states. The MaximizedModeSettings object exposes the following properties:

The xamTileManager does not automatically initialize the MaximizedModeSettings property. If you want to set any properties exposed by the MaximizedModeSettings property in code, you must set xamTileManager’s MaximizedModeSettings property to an instance of a MaximizedModeSettings object.

The following example code demonstrates how to modify tile behaviors in maximized, minimized and minimized-expanded mode.

In XAML:

<ig:XamTileManager Name="xamTileManager1">
    <ig:XamTileManager.MaximizedModeSettings>
        <ig:MaximizedModeSettings
            MinimizedTileExpansionMode="AllowOne"
            VerticalTileAreaAlignment="Top"
            ShowAllMinimizedTiles="True" />
    </ig:XamTileManager.MaximizedModeSettings >
    <!--Add Tiles here-->
</ig:XamTileManager>

In Visual Basic:

Imports Infragistics.Controls.Layouts
...
If Me.xamTileManager1.MaximizedModeSettings Is Nothing Then
    Me.xamTileManager1.MaximizedModeSettings =
        New MaximizedModeSettings()
End If
Me.xamTileManager1.MaximizedModeSettings.MinimizedTileExpansionMode = _
    MinimizedTileExpansionMode.AllowOne
Me.xamTileManager1.MaximizedModeSettings.VerticalTileAreaAlignment = _
    VerticalAlignment.Top
Me.xamTileManager1.MaximizedModeSettings.ShowAllMinimizedTiles = True
...

In C#:

using Infragistics.Controls.Layouts;
...
if (this.xamTileManager1.MaximizedModeSettings == null)
{
    this.xamTileManager1.MaximizedModeSettings =
        new MaximizedModeSettings();
}
this.xamTileManager1.MaximizedModeSettings.MinimizedTileExpansionMode =
    MinimizedTileExpansionMode.AllowOne;
this.xamTileManager1.MaximizedModeSettings.VerticalTileAreaAlignment =
    VerticalAlignment.Top;
this.xamTileManager1.MaximizedModeSettings.ShowAllMinimizedTiles = true;
...