C# Class SIL.FieldWorks.Common.Controls.SplitGridView.CollapsibleDataGridView

A DataGridView that collapses a column by hiding it if it reaches the minimum possible size (2 pixels).
Inheritance: System.Windows.Forms.DataGridView
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

Свойство Type Description
AdjustRowWeight void
OnMouseUp void
OnRowHeightChanged void
Parent_ParentChanged void
ResizeRows void

Méthodes publiques

Méthode Description
CheckDisposed ( ) : void

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.

This method is thread safe.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

OnColumnWidthChanged ( System.Windows.Forms.DataGridViewColumnEventArgs e ) : void

Raises the E:System.Windows.Forms.DataGridView.ColumnWidthChanged event.

OnDataError ( bool displayErrorDialogIfNoHandler, System.Windows.Forms.DataGridViewDataErrorEventArgs e ) : void

Raises the event.

OnParentChanged ( EventArgs e ) : void

Raises the event.

OnShown ( object sender, EventArgs e ) : void

Called when initially shown.

OnSizeChanged ( EventArgs e ) : void

Raises the event.

ProcessKeyPreview ( Message &m ) : bool

Previews a keyboard message.

Private Methods

Méthode Description
AdjustRowWeight ( SIL.FieldWorks.Common.Controls.SplitGridView.DataGridViewControlRow row ) : void

Adjusts the row weight based on the new height of the row.

OnMouseUp ( MouseEventArgs e ) : void
OnRowHeightChanged ( System.Windows.Forms.DataGridViewRowEventArgs e ) : void
Parent_ParentChanged ( object sender, EventArgs e ) : void

Handles the ParentChanged event of the Parent control.

ResizeRows ( bool fForceHeightChanged ) : void

Method Details

CheckDisposed() public méthode

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.
This method is thread safe.
public CheckDisposed ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

OnColumnWidthChanged() protected méthode

Raises the E:System.Windows.Forms.DataGridView.ColumnWidthChanged event.
The column indicated by the /// property of /// e does not belong to this /// control.
protected OnColumnWidthChanged ( System.Windows.Forms.DataGridViewColumnEventArgs e ) : void
e System.Windows.Forms.DataGridViewColumnEventArgs A /// that contains the event data.
Résultat void

OnDataError() protected méthode

Raises the event.
protected OnDataError ( bool displayErrorDialogIfNoHandler, System.Windows.Forms.DataGridViewDataErrorEventArgs e ) : void
displayErrorDialogIfNoHandler bool true to display an error dialog box if /// there is no handler for the /// event.
e System.Windows.Forms.DataGridViewDataErrorEventArgs A /// that contains the event data.
Résultat void

OnParentChanged() protected méthode

Raises the event.
protected OnParentChanged ( EventArgs e ) : void
e System.EventArgs An that contains the event /// data.
Résultat void

OnShown() protected méthode

Called when initially shown.
protected OnShown ( object sender, EventArgs e ) : void
sender object The sender.
e System.EventArgs The instance containing the event data.
Résultat void

OnSizeChanged() protected méthode

Raises the event.
protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs An that contains the event /// data.
Résultat void

ProcessKeyPreview() protected méthode

Previews a keyboard message.
protected ProcessKeyPreview ( Message &m ) : bool
m System.Windows.Forms.Message A , passed by /// reference, that represents the window message to process.
Résultat bool