Class FilterRowNumericCellRenderer
Represents the class that implements the Numeric filter row editor cell.
Inheritance
Inherited Members
Namespace: Syncfusion.WinForms.DataGrid.RowFilter
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class FilterRowNumericCellRenderer : FilterRowCellRenderer<SfNumericTextBox>, IGridCellRenderer<TableControl>, IDisposable, IFilterRowRenderer
Constructors
FilterRowNumericCellRenderer()
Initializes a new instance of the FilterRowNumericCellRenderer class.
Declaration
public FilterRowNumericCellRenderer()
Methods
CanValidate()
Overridden to specify the validation on the numeric filter row cell.
Declaration
public override bool CanValidate()
Returns
Type | Description |
---|---|
System.Boolean | Returns true, when the validation needs to be taken, otherwise return false. |
Overrides
GetControlValue()
Gets the control value for the filter row cell renderer.
Declaration
public override object GetControlValue()
Returns
Type | Description |
---|---|
System.Object | Returns the value of the cell. |
Overrides
OnEditingComplete(DataColumnBase, SfNumericTextBox)
overridden to updated the filtering on the editing complete of the filter row cell.
Declaration
protected override void OnEditingComplete(DataColumnBase column, SfNumericTextBox currentRendererElement)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | column | The DataColumnBase of the cell. |
SfNumericTextBox | currentRendererElement | The renderer element of the current cell. |
Overrides
OnInitializeEditElement(DataColumnBase, RowColumnIndex, SfNumericTextBox)
overridden to initialize the edit element of the sfNumeric text box.
Declaration
protected override void OnInitializeEditElement(DataColumnBase column, RowColumnIndex rowColumnIndex, SfNumericTextBox uiElement)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | column | The DataColumnBase of the cell. |
RowColumnIndex | rowColumnIndex | The row column index of the cell. |
SfNumericTextBox | uiElement | The edit element of the cell. |
Overrides
OnKeyDown(DataColumnBase, RowColumnIndex, KeyEventArgs)
Overridden to update the key down event to the NavigationController.
Declaration
protected override void OnKeyDown(DataColumnBase dataColumn, RowColumnIndex rowColumnIndex, KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | dataColumn | The DataColumnBase of the cell. |
RowColumnIndex | rowColumnIndex | The row and column index of the cell. |
System.Windows.Forms.KeyEventArgs | e | The System.Windows.Forms.KeyEventArgs that contains the event data. |
Overrides
OnKeyPress(DataColumnBase, RowColumnIndex, KeyPressEventArgs)
Occurs when the key is pressed while the cell has focus.
Declaration
protected override void OnKeyPress(DataColumnBase dataColumn, RowColumnIndex rowColumnIndex, KeyPressEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | dataColumn | The DataColumnBase of the cell. |
RowColumnIndex | rowColumnIndex | The row and column index of the cell. |
System.Windows.Forms.KeyPressEventArgs | e | The System.Windows.Forms.KeyEventArgs that contains the event data. |