C# Class DataGridViewAutoFilter.DataGridViewAutoFilterSingleTextBoxColumn

Represents a DataGridViewTextBoxColumn with a drop-down filter list accessible from the header cell.
Inheritance: System.Windows.Forms.DataGridViewTextBoxColumn
显示文件 Open project: Duke-Jones/ED-IBE

Private Properties

Property Type Description

Public Methods

Method Description
DataGridViewAutoFilterSingleTextBoxColumn ( ) : System

Initializes a new instance of the DataGridViewAutoFilterTextBoxColumn class.

GetFilterStatus ( System.Windows.Forms.DataGridView dataGridView ) : String

Gets a status string for the specified DataGridView indicating the number of visible rows in the bound, filtered BindingSource, or String.Empty if all rows are currently visible.

RemoveFilter ( System.Windows.Forms.DataGridView dataGridView ) : void

Removes the filter from the BindingSource bound to the specified DataGridView.

Method Details

DataGridViewAutoFilterSingleTextBoxColumn() public method

Initializes a new instance of the DataGridViewAutoFilterTextBoxColumn class.
public DataGridViewAutoFilterSingleTextBoxColumn ( ) : System
return System

GetFilterStatus() public static method

Gets a status string for the specified DataGridView indicating the number of visible rows in the bound, filtered BindingSource, or String.Empty if all rows are currently visible.
public static GetFilterStatus ( System.Windows.Forms.DataGridView dataGridView ) : String
dataGridView System.Windows.Forms.DataGridView The DataGridView bound to the /// BindingSource to return the filter status for.
return String

RemoveFilter() public static method

Removes the filter from the BindingSource bound to the specified DataGridView.
public static RemoveFilter ( System.Windows.Forms.DataGridView dataGridView ) : void
dataGridView System.Windows.Forms.DataGridView The DataGridView bound to the BindingSource to unfilter.
return void