Version

MoveTile Method

Moves a tile to another location.
Syntax
'Declaration
 
Protected Friend Function MoveTile( _
   ByVal container As FrameworkElement, _
   ByVal item As Object, _
   ByVal point As Point _
) As Boolean
protected internal bool MoveTile( 
   FrameworkElement container,
   object item,
   Point point
)

Parameters

container
The tile to maove
item
The assocated item
point
The point relative to this panel.

Return Value

True if the tile was successfully moved.
Remarks

This will result in an equilalent action as if the user had dragged the tile to the speecidied point.

This method will return false if AllowTileDragging is not 'Swap' or 'Slide' or the specified point is not over another Tile that can be moved.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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