バージョン

ScrollTipField プロパティ

ScrollTipField は、UltraGrid はスクロール ヒントを表示するために使用する列の内容のキーを指定します。
シンタックス
'宣言
 
Public Property ScrollTipField As String
public string ScrollTipField {get; set;}
解説

ScrollTipField プロパティは、どのフィールドを使用してスクロールヒントのテキストを提供するかを指定します。スクロール ヒントは、ユーザーがレコードセットをスクロールしているときにスクロールバーの上に表示されます。これには、指定したデータがナビゲーションの補助として表示されます。ユーザーがマウス ボタンを離すと、スクロール ヒントに表示されたデータを含むレコードにレコードセットが設定されます。

注:スクロール ヒントは、UltraGridLayout.ScrollStyleDeferred に設定されている場合のみ表示されます。それ以外の場合は行が直接スクロールされるため、スクロール ヒントを表示する必要がありません。

使用例
Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid

  Private Sub Button59_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button59.Click

      ' Set the TipStyleRowConnector to Hide to disable the row connector tooltips. Row
      ' connectors are the lines that connect sibling rows and child rows to parent
      ' rows. By default, the UltraGrid displays a tooltip when the mouse is hovered
      ' over the row connector connecting a row to its sibling that's not in view. The
      ' text in the tooltip indentifies the sibling row. You can disable this tooltip by
      ' setting the TipStyleRowConnector to Hide.
      Me.UltraGrid1.DisplayLayout.Override.TipStyleRowConnector = TipStyle.Hide

      ' Likewise, use the TipStyleScroll to disable the scroll tooltips which they are
      ' shown by default. Scroll tooltips are displayed when the vertical thumb is
      ' dragged. They identify the row that current scroll thumb position represents.
      ' NOTE: If the UltraGridLayout.ScrollStyle is set to Immediate, which it isn't by
      ' default, then this will be ignored and by the scroll tooltips will be disabled.
      Me.UltraGrid1.DisplayLayout.Override.TipStyleScroll = TipStyle.Hide

      ' You can override that grid-wide setting for a particular band by setting it on 
      ' the override of that band. Enable cell tooltips on band 2.
      Me.UltraGrid1.DisplayLayout.Bands(0).Override.TipStyleRowConnector = TipStyle.Show
      Me.UltraGrid1.DisplayLayout.Bands(0).Override.TipStyleScroll = TipStyle.Show

      ' ScrollTipField is what controls the text that gets displayed in the scroll and
      ' row connector tooltips.
      Me.UltraGrid1.DisplayLayout.Bands(0).ScrollTipField = "CustomerID"

  End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinGrid;
using System.Diagnostics;

private void button59_Click(object sender, System.EventArgs e)
{

	// Set the TipStyleRowConnector to Hide to disable the row connector tooltips. Row
	// connectors are the lines that connect sibling rows and child rows to parent
	// rows. By default, the UltraGrid displays a tooltip when the mouse is hovered
	// over the row connector connecting a row to its sibling that's not in view. The
	// text in the tooltip indentifies the sibling row. You can disable this tooltip by
	// setting the TipStyleRowConnector to Hide.
	this.ultraGrid1.DisplayLayout.Override.TipStyleRowConnector = TipStyle.Hide;

	// Likewise, use the TipStyleScroll to disable the scroll tooltips which they are
	// shown by default. Scroll tooltips are displayed when the vertical thumb is
	// dragged. They identify the row that current scroll thumb position represents.
	// NOTE: If the UltraGridLayout.ScrollStyle is set to Immediate, which it isn't by
	// default, then this will be ignored and by the scroll tooltips will be disabled.
	this.ultraGrid1.DisplayLayout.Override.TipStyleScroll = TipStyle.Hide;

	// You can override that grid-wide setting for a particular band by setting it on 
	// the override of that band. Enable cell tooltips on band 2.
	this.ultraGrid1.DisplayLayout.Bands[0].Override.TipStyleRowConnector = TipStyle.Show;
	this.ultraGrid1.DisplayLayout.Bands[0].Override.TipStyleScroll = TipStyle.Show;

	// ScrollTipField is what controls the text that gets displayed in the scroll and
	// row connector tooltips.
	this.ultraGrid1.DisplayLayout.Bands[0].ScrollTipField = "CustomerID";

}
参照