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