Class GridDataFilterBarCellRenderer
Inheritance
System.Object
GridDataFilterBarCellRenderer
Implements
System.IDisposable
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridDataFilterBarCellRenderer : GridVirtualizingCellRenderer<TextBox>, IGridCellRenderer, ICellRenderer, IHitTestSelectCells, IStyleChanged, IDisposable, IAllowKeepAliveOnlyCurrentCell
Constructors
GridDataFilterBarCellRenderer()
Declaration
public GridDataFilterBarCellRenderer()
Properties
AlphaNumericRegexString
Gets or Sets the Regex String for AlphaNumeric FilterBarType
Declaration
public string AlphaNumericRegexString { get; set; }
Property Value
AlphaNumericWithSeparatorRegexString
Gets or Sets the Regex String with Separator for AlphaNumeric FilterBarType
Declaration
public string AlphaNumericWithSeparatorRegexString { get; set; }
Property Value
ContainsString
Declaration
public string ContainsString { get; set; }
Property Value
DefaultFilterType
Declaration
public FilterType DefaultFilterType { get; set; }
Property Value
Type |
Syncfusion.Linq.FilterType |
EqualsString
Declaration
public string EqualsString { get; set; }
Property Value
Displays the Error Tooltip when the filtered value was worng
Declaration
public string ErrorToolTip { get; set; }
Property Value
FilterBarMode
Gets or Sets the FilterBarMode for the current Visible Column
Declaration
public GridDataFilterBarMode FilterBarMode { get; set; }
Property Value
FilterBarType
Gets the Current FilterBar Type
Declaration
public GridDataFilterBarType FilterBarType { get; }
Property Value
GreaterThanOrEqualString
Declaration
public string GreaterThanOrEqualString { get; set; }
Property Value
GreaterThanString
Declaration
public string GreaterThanString { get; set; }
Property Value
IsFilteringSuspend
Declaration
public bool IsFilteringSuspend { get; }
Property Value
LessThanOrEqualString
Declaration
public string LessThanOrEqualString { get; set; }
Property Value
LessThanString
Declaration
public string LessThanString { get; set; }
Property Value
NotString
Declaration
public string NotString { get; set; }
Property Value
NumericFollow
Gets or Sets the Regex String for Numeric FilterBarType
Declaration
public string NumericFollow { get; set; }
Property Value
NumericWithSeparatorRegexString
Gets or Sets the Regex String with Separator for Numeric FilterBarType
Declaration
public string NumericWithSeparatorRegexString { get; set; }
Property Value
StartWithEndWithString
Declaration
public string StartWithEndWithString { get; set; }
Property Value
Methods
ArrangeUIElement(ArrangeCellArgs, TextBox, GridRenderStyleInfo)
Declaration
protected override void ArrangeUIElement(ArrangeCellArgs aca, TextBox textBox, GridRenderStyleInfo style)
Parameters
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRendererBase<System.Windows.Controls.TextBox>.ArrangeUIElement(Syncfusion.Windows.Controls.Cells.ArrangeCellArgs, System.Windows.Controls.TextBox, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)
ClearCurrentColumnFilter()
Clears the Filter from the Current VisibleColumn..
Declaration
protected virtual void ClearCurrentColumnFilter()
GenerateFilter(Object, FilterType, Boolean)
This method will apply Filter for the current Visible Column.
Declaration
public void GenerateFilter(object filtervalue, FilterType defaultFilterType, bool NeedValidation)
Parameters
Type |
Name |
Description |
System.Object |
filtervalue |
FilterValue
|
Syncfusion.Linq.FilterType |
defaultFilterType |
FilterType
|
System.Boolean |
NeedValidation |
True will validate the Filtering. False will apply filter directly.
|
GetControlTextFromEditorCore(TextBox)
Declaration
protected override string GetControlTextFromEditorCore(TextBox textBox)
Parameters
Type |
Name |
Description |
System.Windows.Controls.TextBox |
textBox |
|
Returns
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<System.Windows.Controls.TextBox>.GetControlTextFromEditorCore(System.Windows.Controls.TextBox)
GetCurrentColumn()
Returns the Current GridDataVisibleColumn.
Declaration
public GridDataVisibleColumn GetCurrentColumn()
Returns
GetCurrentFilterBarType()
Returns the GridDataFilterBarType based on the VisibleColumn ColumnType.
Declaration
public GridDataFilterBarType GetCurrentFilterBarType()
Returns
GetCurrentFilterValue()
Returns the Current FilterValue else returns empty String
Declaration
public string GetCurrentFilterValue()
Returns
GetFilterType()
Declaration
public FilterType GetFilterType()
Returns
Type |
Syncfusion.Linq.FilterType |
GetStatusMessage()
Declaration
public string GetStatusMessage()
Returns
m_filtertype(String)
This method is used to set the filtertype based on string-tokenizer
Declaration
public FilterType m_filtertype(string filterValue)
Parameters
Type |
Name |
Description |
System.String |
filterValue |
Specifies to check whether the filterValue contains string-tokenizer or not.
|
Returns
Type |
Syncfusion.Linq.FilterType |
OnActivated()
Declaration
protected override void OnActivated()
Overrides
OnDeactivated()
Declaration
protected override void OnDeactivated()
Overrides
OnDeactivating()
Declaration
protected override bool OnDeactivating()
Returns
Overrides
OnGridPreviewTextInput(TextCompositionEventArgs)
Declaration
protected override void OnGridPreviewTextInput(TextCompositionEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.TextCompositionEventArgs |
e |
|
Overrides
OnInitialize()
Declaration
protected override void OnInitialize()
Overrides
OnInitializeContent(TextBox, GridRenderStyleInfo)
Declaration
public override void OnInitializeContent(TextBox textBox, GridRenderStyleInfo style)
Parameters
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<System.Windows.Controls.TextBox>.OnInitializeContent(System.Windows.Controls.TextBox, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)
OnRender(DrawingContext, RenderCellArgs, GridRenderStyleInfo)
Declaration
protected override void OnRender(DrawingContext dc, RenderCellArgs rca, GridRenderStyleInfo style)
Parameters
Overrides
Syncfusion.Windows.Controls.Cells.CellRendererBase<Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo>.OnRender(System.Windows.Media.DrawingContext, Syncfusion.Windows.Controls.Cells.RenderCellArgs, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)
OnSetFocus()
Declaration
protected override void OnSetFocus()
Overrides
OnUnwireUIElement(TextBox)
Unwire previously wired events from textBox.
Declaration
protected override void OnUnwireUIElement(TextBox textBox)
Parameters
Type |
Name |
Description |
System.Windows.Controls.TextBox |
textBox |
|
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<System.Windows.Controls.TextBox>.OnUnwireUIElement(System.Windows.Controls.TextBox)
OnWireUIElement(TextBox)
Declaration
protected override void OnWireUIElement(TextBox textBox)
Parameters
Type |
Name |
Description |
System.Windows.Controls.TextBox |
textBox |
|
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<System.Windows.Controls.TextBox>.OnWireUIElement(System.Windows.Controls.TextBox)
Raises GridCellClick event.
Declaration
public override void RaiseGridCellClick(int rowIndex, int colIndex, MouseControllerEventArgs e)
Parameters
Overrides
RefreshContent()
Refreshes the textbox UnwireTemplatePartscell.
Declaration
public override void RefreshContent()
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<System.Windows.Controls.TextBox>.RefreshContent()
SetInVaildDataError()
Declaration
protected virtual void SetInVaildDataError()
SetInValidDateTimeError()
Declaration
protected virtual void SetInValidDateTimeError()
SetNoRecordsDataError()
Declaration
protected virtual void SetNoRecordsDataError()
SetStatusMessage(String)
Declaration
public void SetStatusMessage(string statusMessage)
Parameters
Type |
Name |
Description |
System.String |
statusMessage |
|
Declaration
protected override bool ShouldGridTryToHandlePreviewKeyDown(KeyEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.KeyEventArgs |
e |
|
Returns
Overrides
ValidateCurrentColumn()
Declaration
public bool ValidateCurrentColumn()
Returns
Events
FilterValueChanged
Declaration
public event EventHandler<GridDataFilterBarValueArgs> FilterValueChanged
Event Type
Implements
System.IDisposable