DataGridViewCell.MouseEnterUnsharesRow(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 flyttas över en cell på raden.
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
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 MouseEnterUnsharesRow anropas precis före OnMouseEnter metoden. I härledda klasser måste det returneras true om anropet till OnMouseEnter 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)
- OnMouseEnter(Int32)
- MouseLeaveUnsharesRow(Int32)
- MouseMoveUnsharesRow(DataGridViewCellMouseEventArgs)
- MouseUpUnsharesRow(DataGridViewCellMouseEventArgs)
- metodtips för att skala Windows Forms DataGridView-kontrollen