Infragistics® WPF 2016.1
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;
...
Related Topics

About Tile Layout

Add Tiles to xamTileManager

Retrieve a Reference to a Tile

Change the State of a Tile

About Saving and Loading Layouts

About Tile Templates

Binding xamTileManager to Data

Explicitly Arrange Tiles

Allow End Users to Close Tiles

Restrict a XamTile's Size

Modify Tile Behaviors in Normal Mode

About Animations

 

 


Copyright © 2008-2016 Infragistics, Inc. All rights reserved.

E-mail your feedback on this topic.