Version

Hide Tiles using Close Button

A close button can be shown on the Tiles at run-time that allows your end users to hide a tile. It can be displayed for a specific tile by setting the UltraTile object’s Settings.ShowCloseButton property to True or can be displayed on all tiles by setting the UltraTilePanel object’s TileSettings.ShowCloseButton property to True.

Note
Note

When the end user clicks the close button, the tile will be hidden from view and there is no way for the end user to show the hidden tiles. The only way to show a hidden tile is by manually setting its visible property to True.

This topic assumes that you have an UltraTilePanel dropped onto your form. For information on adding tiles to the TilePanel control, please see the Add and Remove Tiles through Code topic.

In Visual Basic:

' Display Close button for a specific tile
' tile1.Settings.ShowCloseButton = Infragistics.Win.DefaultableBoolean.[True]
' Display Close button for all tiles on the UltraTilePanel control
Me.ultraTilePanel1.TileSettings.ShowCloseButton = Infragistics.Win.DefaultableBoolean.[True]

In C#:

// Display Close button for a specific tile
// tile1.Settings.ShowCloseButton = Infragistics.Win.DefaultableBoolean.True;
// Display Close button for all tiles on the UltraTilePanel control
this.ultraTilePanel1.TileSettings.ShowCloseButton =    Infragistics.Win.DefaultableBoolean.True;
WinTilePanel Hide Tiles using the Close Button 01.png