C# Class MetroFramework.Controls.MetroDataGridHelper

Afficher le fichier Open project: AshishKilmist/MetroFramework Class Usage Examples

Méthodes publiques

Méthode Description
MetroDataGridHelper ( MetroScrollBar scrollbar, System.Windows.Forms.DataGridView grid, bool vertical = true ) : System
UpdateScrollbar ( ) : void

Updates the scrollbar values

VisibleHorizontalScroll ( ) : bool
VisibleVerticalScroll ( ) : bool

Private Methods

Méthode Description
BeginIgnoreScrollbarChangeEvents ( ) : void
EndIgnoreScrollbarChangeEvents ( ) : void
VisibleFlexGridCols ( ) : int

VisibleFlexGridRows ( ) : int

Determine the current count of visible rows

_grid_AfterDataRefresh ( object sender, System e ) : void
_grid_Resize ( object sender, EventArgs e ) : void
_grid_RowsAdded ( object sender, System.Windows.Forms.DataGridViewRowsAddedEventArgs e ) : void
_grid_Scroll ( object sender, ScrollEventArgs e ) : void
_grid_UserDeletedRow ( object sender, System.Windows.Forms.DataGridViewRowEventArgs e ) : void
_scrollbar_Scroll ( object sender, System e ) : void

Method Details

MetroDataGridHelper() public méthode

public MetroDataGridHelper ( MetroScrollBar scrollbar, System.Windows.Forms.DataGridView grid, bool vertical = true ) : System
scrollbar MetroScrollBar
grid System.Windows.Forms.DataGridView
vertical bool
Résultat System

UpdateScrollbar() public méthode

Updates the scrollbar values
public UpdateScrollbar ( ) : void
Résultat void

VisibleHorizontalScroll() public méthode

public VisibleHorizontalScroll ( ) : bool
Résultat bool

VisibleVerticalScroll() public méthode

public VisibleVerticalScroll ( ) : bool
Résultat bool