Infragistics® WPF 2016.1
Modify Tile Behaviors in Normal Mode

The xamTileManager™ exposes a NormalModeSettings property that allows you to modify the behavior and layout of tiles in the normal state. The NormalModeSettings object exposes the following properties:

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

The following example code demonstrates how to modify tile behaviors in normal mode.


<ig:XamTileManager Name="xamTileManager1">
            MaxRows="2" />

    <!--Add Tiles here-->

In Visual Basic:

Imports Infragistics.Controls.Layouts
If Me.xamTileManager1.MaximizedModeSettings Is Nothing Then
    Me.xamTileManager1.NormalModeSettings = New NormalModeSettings()
End If

Me.xamTileManager1.NormalModeSettings.AllowTileDragging = _
Me.xamTileManager1.NormalModeSettings.AllowTileSizing = _
Me.xamTileManager1.NormalModeSettings.MaxColumns = 2
Me.xamTileManager1.NormalModeSettings.MaxRows = 2

In C#:

using Infragistics.Controls.Layouts;
if (this.xamTileManager1.NormalModeSettings == null)
    this.xamTileManager1.NormalModeSettings = new NormalModeSettings();

this.xamTileManager1.NormalModeSettings.AllowTileDragging =
this.xamTileManager1.NormalModeSettings.AllowTileSizing =
this.xamTileManager1.NormalModeSettings.MaxColumns = 2;
this.xamTileManager1.NormalModeSettings.MaxRows = 2;
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 Maximized Mode

About Animations



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

E-mail your feedback on this topic.