Infragistics(R) NetAdvantage(R) Windows Forms
LargeTilePosition Property
See Also  Example E-mail your feedback on this topic.
Infragistics.Win.Misc Namespace > UltraTilePanel Class : LargeTilePosition Property

Gets or sets the position where Large state UltraTiles should be positioned.

Syntax

Visual Basic (Declaration) 
Public Property LargeTilePosition As LargeTilePosition
C# 
public LargeTilePosition LargeTilePosition {get; set;}

Property Value

The position where Large state UltraTiles should be positioned.

Exceptions

ExceptionDescription
System.ComponentModel.InvalidEnumArgumentException The value assigned is not a member of the enumeration.

Example

The following code demonstrates how to control the number and position of tiles in the Large state.

Visual BasicCopy Code
Imports System.Windows.Forms
Imports Infragistics.Win
Imports Infragistics.Win.Misc

' Allow for two tiles to be in the Large state at a time.
Me.UltraTilePanel1.MaximumVisibleLargeTiles = 2

' When there are multiple large tiles, they should be arranged horizontally.
Me.UltraTilePanel1.LargeTileOrientation = TileOrientation.Horizontal

' The large tile should be placed below the normal tiles.
Me.UltraTilePanel1.LargeTilePosition = LargeTilePosition.Bottom
C#Copy Code
using System.Windows.Forms;
using Infragistics.Win;
using Infragistics.Win.Misc;

// Allow for two tiles to be in the Large state at a time.
this.ultraTilePanel1.MaximumVisibleLargeTiles = 2;

// When there are multiple large tiles, they should be arranged horizontally.
this.ultraTilePanel1.LargeTileOrientation = TileOrientation.Horizontal;

// The large tile should be placed below the normal tiles.
this.ultraTilePanel1.LargeTilePosition = LargeTilePosition.Bottom;

See Also