[]
        
(Showing Draft Content)

C1.WinUI.Grid.FullTextFilterBehavior

FullTextFilterBehavior Class

Allows any FlexGrid to be filtered using a Microsoft.UI.Xaml.Controls.TextBox.

Inheritance
FullTextFilterBehavior
Namespace: C1.WinUI.Grid
Assembly: C1.WinUI.Grid.dll
Syntax
public class FullTextFilterBehavior : C1Behavior<FlexGrid>
Public Class FullTextFilterBehavior
    Inherits C1Behavior(Of FlexGrid)
Remarks

This behavior sets the CellFactory of the attached grid.

Constructors

Name Description
FullTextFilterBehavior()

Fields

Name Description
FilterEntryProperty

Identifies the FilterEntry dependency property.

FilteredFieldsProperty

Identifies the FilteredFields dependency property.

HighlightColorProperty

Identifies the HighlightColor dependency property.

HighlightFontAttributesProperty

Identifies the HighlightFontAttributes dependency property.

MatchBooleansProperty

Identifies the MatchBooleans dependency property.

MatchCaseProperty

Identifies the MatchCase dependency property.

MatchNumbersProperty

Identifies the MatchNumbers dependency property.

MatchWholeWordProperty

Identifies the MatchWholeWord dependency property.

ModeProperty

Identifies the Mode dependency property.

TreatSpacesAsAndOperatorProperty

Identifies the TreatSpacesAsAndOperator dependency property.

Properties

Name Description
FilterEntry

Gets or sets the Entry field used to perform the query.

FilteredFields

Gets or sets the collection of fields data types that should be considered when performing full text filtering and highlighting in the grid. Only the data type listed here will be checked for matches when FilterString changes.

HighlightColor

Gets or sets the color used to highlight the matches.

HighlightFontAttributes

Gets or sets the font attributes used to highlight the matches.

MatchBooleans

Gets or sets whether the filtered text should match boolean values.

MatchCase

Gets or sets whether the filtered text should match the case too.

MatchNumbers

Gets or sets whether number columns should be taken into account.

MatchWholeWord

Gets or sets whether the filtered text should match the whole word.

Mode

Gets or sets the mode the filter will be performed.

TreatSpacesAsAndOperator

Specifies whether the spaces act as "AND" operator or the query should be matched as it is, including spaces.

Methods

Name Description
OnAttachedTo(FlexGrid)

Called when the behavior is attached to the grid.

OnDetachingFrom(FlexGrid)

Called when the behavior is detaching from the grid.