DataGridViewCell.MouseEnterUnsharesRow(Int32) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
マウス ポインターが行内のセルの上に移動したときに、行が共有解除されるかどうかを示します。
protected:
virtual bool MouseEnterUnsharesRow(int rowIndex);
protected virtual bool MouseEnterUnsharesRow(int rowIndex);
abstract member MouseEnterUnsharesRow : int -> bool
override this.MouseEnterUnsharesRow : int -> bool
Protected Overridable Function MouseEnterUnsharesRow (rowIndex As Integer) As Boolean
パラメーター
- rowIndex
- Int32
セルの親行のインデックス。
返品
true 行が共有解除される場合は false。 基底 DataGridViewCell クラスは常に falseを返します。
注釈
MouseEnterUnsharesRow メソッドは、OnMouseEnter メソッドの直前に呼び出されます。 派生クラスでは、trueの呼び出しがセルを含む行の共有を解除する効果がある場合は、OnMouseEnterを返す必要があります。 それ以外の場合は、 falseを返す必要があります。
行共有の詳細については、「 Windows フォーム DataGridView コントロールのスケーリングのベスト プラクティス」を参照してください。
適用対象
こちらもご覧ください
- DataGridView
- MouseClickUnsharesRow(DataGridViewCellMouseEventArgs)
- MouseDoubleClickUnsharesRow(DataGridViewCellMouseEventArgs)
- MouseDownUnsharesRow(DataGridViewCellMouseEventArgs)
- OnMouseEnter(Int32)
- MouseLeaveUnsharesRow(Int32)
- MouseMoveUnsharesRow(DataGridViewCellMouseEventArgs)
- MouseUpUnsharesRow(DataGridViewCellMouseEventArgs)
- Windows フォームの DataGridView コントロールをスケーリングするためのベスト プラクティス