Class GridFilterRowNumericRenderer
Represents a class which handles the filter operation that loads the Numeric text box in a FilterRow.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.Grid.RowFilter
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class GridFilterRowNumericRenderer : GridFilterRowCellRenderer<TextBlock, DoubleTextBox>, IGridCellRenderer, IDisposable, IGridFilterRowRenderer
Constructors
GridFilterRowNumericRenderer()
Declaration
public GridFilterRowNumericRenderer()
Methods
GetControlValue()
Gets the control value.
Declaration
public override object GetControlValue()
Returns
Type |
---|
System.Object |
Overrides
OnEditElementLoaded(Object, RoutedEventArgs)
Called when [edit element loaded].
Declaration
protected override void OnEditElementLoaded(object sender, RoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The sender. |
System.Windows.RoutedEventArgs | e | The System.Windows.RoutedEventArgs instance containing the event data. |
Overrides
OnEditingComplete(DataColumnBase, FrameworkElement)
When complete edit, we need to raise query again to provide entered value to customer.
Declaration
protected override void OnEditingComplete(DataColumnBase dataColumn, FrameworkElement currentRendererElement)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | dataColumn | DataColumn which holds GridColumn, RowColumnIndex and GridCell |
System.Windows.FrameworkElement | currentRendererElement | The UIElement that was loaded in edit mdoe |
Overrides
OnInitializeDisplayElement(DataColumnBase, TextBlock, Object)
Called when [initialize display element].
Declaration
public override void OnInitializeDisplayElement(DataColumnBase dataColumn, TextBlock uiElement, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | dataColumn | DataColumn Which holds GridColumn, RowColumnIndex and GridCell |
System.Windows.Controls.TextBlock | uiElement | Corresponding Renderer Element |
System.Object | dataContext | The data context. |
Overrides
OnInitializeEditElement(DataColumnBase, DoubleTextBox, Object)
Called when [initialize edit element].
Declaration
public override void OnInitializeEditElement(DataColumnBase dataColumn, DoubleTextBox uiElement, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | dataColumn | DataColumn Which holds GridColumn, RowColumnIndex and GridCell |
DoubleTextBox | uiElement | Corresponding Renderer Element |
System.Object | dataContext | The data context. |
Overrides
OnUnwireEditUIElement(DoubleTextBox)
Called when [unwire edit UI element].
Declaration
protected override void OnUnwireEditUIElement(DoubleTextBox uiElement)
Parameters
Type | Name | Description |
---|---|---|
DoubleTextBox | uiElement | The UI element. |
Overrides
SetControlValue(Object)
Sets the control value.
Declaration
public override void SetControlValue(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The value. |
Overrides
ShouldGridTryToHandleKeyDown(KeyEventArgs)
Let Renderer decide whether the parent grid should be allowed to handle keys and prevent the key event from being handled by the visual UIElement for this renderer. If this method returns true the parent grid will handle arrow keys and set the Handled flag in the event data. Keys that the grid does not handle will be ignored and be routed to the UIElement for this renderer.
Declaration
protected override bool ShouldGridTryToHandleKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.KeyEventArgs | e | A System.Windows.Input.KeyEventArgs object. |
Returns
Type | Description |
---|---|
System.Boolean | True if the parent grid should be allowed to handle keys; false otherwise. |