DataGridViewCell.MouseLeaveUnsharesRow(Int32) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Anger om en rad kommer att delas upp när muspekaren lämnar raden.
protected:
virtual bool MouseLeaveUnsharesRow(int rowIndex);
protected virtual bool MouseLeaveUnsharesRow(int rowIndex);
abstract member MouseLeaveUnsharesRow : int -> bool
override this.MouseLeaveUnsharesRow : int -> bool
Protected Overridable Function MouseLeaveUnsharesRow (rowIndex As Integer) As Boolean
Parametrar
- rowIndex
- Int32
Indexet för cellens överordnade rad.
Returer
trueom raden kommer att tas bort från delningen, annars . false
DataGridViewCell Basklassen returnerar falsealltid .
Kommentarer
Metoden MouseLeaveUnsharesRow anropas precis före OnMouseLeave metoden. I härledda klasser måste det returneras true om anropet till OnMouseLeave har effekten att den rad som innehåller cellen inte delars upp. Annars bör den returnera false.
Mer information om raddelning finns i Best Practices for Scaling the Windows Forms DataGridView Control.
Gäller för
Se även
- DataGridView
- MouseClickUnsharesRow(DataGridViewCellMouseEventArgs)
- MouseDoubleClickUnsharesRow(DataGridViewCellMouseEventArgs)
- MouseDownUnsharesRow(DataGridViewCellMouseEventArgs)
- MouseEnterUnsharesRow(Int32)
- OnMouseLeave(Int32)
- MouseMoveUnsharesRow(DataGridViewCellMouseEventArgs)
- MouseUpUnsharesRow(DataGridViewCellMouseEventArgs)
- metodtips för att skala Windows Forms DataGridView-kontrollen