Version

VisiblePositionInToolTip Property

Gets/sets whether the value of this column's Text, and the associated sub-item's Value, are displayed in the tooltips when the TipStyle property is set to 'Automatic'.
Syntax
'Declaration
 
Public Property VisiblePositionInToolTip As Integer
public int VisiblePositionInToolTip {get; set;}
Example
The following code sample demonstrates how to use the VisibleInToolTip and VisiblePositionInToolTip properties to control which sub-item values appear in the tooltip displayed by the UltraListView control, and also to control the order in which they appear:

Imports Infragistics.Win
Imports Infragistics.Win.UltraWinListView


    Private Sub ConfigureSubItemToolTips(ByVal listView As UltraListView)

        listView.ItemSettings.SubItemsVisibleInToolTipByDefault = False

        Dim visiblePosition As Integer = 0
        Dim column As UltraListViewSubItemColumn
        For Each column In listView.SubItemColumns

            If column.VisibleInDetailsView = DefaultableBoolean.True Then

                column.VisibleInToolTip = DefaultableBoolean.True
                column.VisiblePositionInToolTip = visiblePosition
                visiblePosition += 1
            Else
                column.VisibleInToolTip = DefaultableBoolean.Default
            End If
        Next
    End Sub
using Infragistics.Win;
using Infragistics.Win.UltraWinListView;
using System.Diagnostics;

		private void ConfigureSubItemToolTips( UltraListView listView )
		{
			listView.ItemSettings.SubItemsVisibleInToolTipByDefault = false;

			int visiblePosition = 0;
			foreach( UltraListViewSubItemColumn column in listView.SubItemColumns )
			{
				if ( column.VisibleInDetailsView == DefaultableBoolean.True )
				{
					column.VisibleInToolTip = DefaultableBoolean.True;
					column.VisiblePositionInToolTip = visiblePosition;
					visiblePosition++;
				}
				else
					column.VisibleInToolTip = DefaultableBoolean.Default;
			}
		}
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