DataGridView.ShowCellToolTips 属性

定义

获取或设置一个值,该值指示当鼠标指针停留在单元格上或用户通过键盘导航到该单元格上时,是否显示工具提示。Gets or sets a value indicating whether or not ToolTips will show when the mouse pointer pauses on a cell or the user navigates to the cell using the keyboard.

public:
 property bool ShowCellToolTips { bool get(); void set(bool value); };
public bool ShowCellToolTips { get; set; }
member this.ShowCellToolTips : bool with get, set
Public Property ShowCellToolTips As Boolean

属性值

Boolean

如果启用单元格工具提示,则为 true;否则为 falsetrue if cell ToolTips are enabled; otherwise, false.

注解

如果此属性的值为 true ,且鼠标指针位于某个单元格上,或用户已使用键盘导航到该单元格,则当满足以下条件之一时,该单元将显示一个工具提示:When the value of this property is true and the mouse pointer is over a cell or the user has navigated to the cell using the keyboard, the cell displays a ToolTip when one of the following conditions is met:

适用于

另请参阅