Version

PositionInNormalMode Property

Gets or sets the row and column index values within the owning UltraTilePanel which contains the UltraTile.
Syntax
'Declaration
 
Public Property PositionInNormalMode As Point
public Point PositionInNormalMode {get; set;}

Property Value

The zero-based row and column index values within the UltraTile or (-1,-1) if the UltraTile does not belong to an UltraTilePanel.
Example
The following code demonstrates how to reposition an UltraTile at run-time.

Imports System.Windows.Forms
Imports Infragistics.Win
Imports Infragistics.Win.Misc

' Get the first tile in the UltraTilePanel
Dim tile As UltraTile = Me.UltraTilePanel1.Tiles(0)

' If the first tile is not in the top-left corner of the UltraTilePanel, 
' reposition it to the top-left corner but prevent it from animating to the new position.
If Not tile.PositionInNormalMode = New Point(0, 0) Then
    tile.SetPositionInNormalMode(New Point(0, 0), False)
End If
using System.Windows.Forms;
using Infragistics.Win;
using Infragistics.Win.Misc;

// Get the first tile in the UltraTilePanel
UltraTile tile = this.ultraTilePanel1.Tiles[ 0 ];

// If the first tile is not in the top-left corner of the UltraTilePanel, 
// reposition it to the top-left corner but prevent it from animating to the new position.
if ( tile.PositionInNormalMode != new Point( 0, 0 ) )
	tile.SetPositionInNormalMode( new Point( 0, 0 ), false );
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also