PanelFilter ClassCleanCode C# Libraries v1.2.03 API
Provides a minimal panel to allow filtering of the underlying DataGridView.
Inheritance Hierarchy

OnlineSystem Object
  OnlineSystem MarshalByRefObject
    OnlineSystem.ComponentModel Component
      OnlineSystem.Windows.Forms Control
        OnlineSystem.Windows.Forms ScrollableControl
          OnlineSystem.Windows.Forms ContainerControl
            OnlineSystem.Windows.Forms UserControl
              CleanCode.DataGridViewControls PanelFilter

Namespace: CleanCode.DataGridViewControls
Assembly: CleanCode.DataGridViewControls (in CleanCode.DataGridViewControls.dll) Version: (1.2.03)

public class PanelFilter : UserControl

Features of this panel:
  • Press return in TextBox, Apply Button, or Erase Button activates the filter with an appropriate value.
  • Press return in Close Button just closes the panel without changing the applied filter, if any.
  • Press escape anywhere closes the panel.
  • When a filter is applied, the Apply Button color changes.
  • When a filter is cleared, the text box is *not*, for convenience of re-applying it if desired.
  • Once opened, tab cycles through just the controls in this panel.

Since CleanCode 0.9.23.

See Also