C# Класс SIL.FieldWorks.Common.Controls.SplitGridView.CollapsibleDataGridView

A DataGridView that collapses a column by hiding it if it reaches the minimum possible size (2 pixels).
Наследование: System.Windows.Forms.DataGridView
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AdjustRowWeight void
OnMouseUp void
OnRowHeightChanged void
Parent_ParentChanged void
ResizeRows void

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

CheckDisposed() публичный Метод

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
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

OnColumnWidthChanged() защищенный Метод

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.
Результат void

OnDataError() защищенный Метод

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.
Результат void

OnParentChanged() защищенный Метод

Raises the event.
protected OnParentChanged ( EventArgs e ) : void
e System.EventArgs An that contains the event /// data.
Результат void

OnShown() защищенный Метод

Called when initially shown.
protected OnShown ( object sender, EventArgs e ) : void
sender object The sender.
e System.EventArgs The instance containing the event data.
Результат void

OnSizeChanged() защищенный Метод

Raises the event.
protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs An that contains the event /// data.
Результат void

ProcessKeyPreview() защищенный Метод

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.
Результат bool