Class DataGridSearchSettings
A class that contains information about the settings related to a search operation and the views related to it.
Inheritance
Namespace: Telerik.Maui.Controls.DataGrid
Assembly: Telerik.Maui.Controls.dll
Syntax
public class DataGridSearchSettings : BindableObject
Constructors
DataGridSearchSettings()
Initializes a new instance of the class.
Declaration
public DataGridSearchSettings()
Fields
ApplyFilterProperty
Identifies the Apply
Declaration
public static readonly BindableProperty ApplyFilterProperty
Field Value
Microsoft.
|
CaseSensitiveProperty
Identifies the Case
Declaration
public static readonly BindableProperty CaseSensitiveProperty
Field Value
Microsoft.
|
CloseSearchPanelCommandProperty
Identifies the Close
Declaration
public static readonly BindableProperty CloseSearchPanelCommandProperty
Field Value
Microsoft.
|
DataGridProperty
Identifies the Data
Declaration
public static readonly BindableProperty DataGridProperty
Field Value
Microsoft.
|
IntermediateSearchTextProperty
Identifies the Intermediate
Declaration
public static readonly BindableProperty IntermediateSearchTextProperty
Field Value
Microsoft.
|
IsCloseSearchPanelButtonVisibleProperty
Identifies the Is
Declaration
public static readonly BindableProperty IsCloseSearchPanelButtonVisibleProperty
Field Value
Microsoft.
|
ProvideSearchMatchesActionProperty
Identifies the Provide
Declaration
public static readonly BindableProperty ProvideSearchMatchesActionProperty
Field Value
Microsoft.
|
ResultsSummaryProperty
Identifies the Results
Declaration
public static readonly BindableProperty ResultsSummaryProperty
Field Value
Microsoft.
|
SearchEntryCompletedCommandProperty
Identifies the Search
Declaration
public static readonly BindableProperty SearchEntryCompletedCommandProperty
Field Value
Microsoft.
|
SearchMatchesCountProperty
Identifies the Search
Declaration
public static readonly BindableProperty SearchMatchesCountProperty
Field Value
Microsoft.
|
SearchPanelVisibilityModeProperty
Identifies the Search
Declaration
public static readonly BindableProperty SearchPanelVisibilityModeProperty
Field Value
Microsoft.
|
SearchTextProperty
Identifies the Search
Declaration
public static readonly BindableProperty SearchTextProperty
Field Value
Microsoft.
|
SearchTriggerProperty
Identifies the Search
Declaration
public static readonly BindableProperty SearchTriggerProperty
Field Value
Microsoft.
|
TextMatchModeProperty
Identifies the Text
Declaration
public static readonly BindableProperty TextMatchModeProperty
Field Value
Microsoft.
|
Properties
ApplyFilter
Gets or sets a value that determines whether business items that do not satisfy the search criteria should be filtered.
Declaration
public bool ApplyFilter { get; set; }
Property Value
System.
|
CaseSensitive
Gets or sets a value indicating whether string comparison should be case sensitive.
Declaration
public bool CaseSensitive { get; set; }
Property Value
System.
|
CloseSearchPanelCommand
Gets or sets the command that is executed when pressing the close button in the Data
Declaration
public ICommand CloseSearchPanelCommand { get; set; }
Property Value
System.
|
DataGrid
IntermediateSearchText
Gets or sets the text of the search entry. Change of this value will not necessarily trigger a search, i.e. it will not necessarily change
the Search
Declaration
public string IntermediateSearchText { get; set; }
Property Value
System.
|
IsCloseSearchPanelButtonVisible
Gets a value indicating whether the X button that closes the search panel should be visible.
The value of this property is determined by the Search
Declaration
public bool IsCloseSearchPanelButtonVisible { get; }
Property Value
System.
|
ProvideSearchMatchesAction
Gets or sets the custom action that is invoked when determining the search matches for a an item. Use this action when you need to specify
search matches based on custom logic. See also Provide
Declaration
public Action<DataGridSearchProbe> ProvideSearchMatchesAction { get; set; }
Property Value
System.
|
ResultsSummary
Gets a summary of the search results, like the number of search matches.
You can override the Get
Declaration
public string ResultsSummary { get; }
Property Value
System.
|
SearchEntryCompletedCommand
Gets the command that is executed when the Completed event of the search entry in the Data
Declaration
public ICommand SearchEntryCompletedCommand { get; }
Property Value
System.
|
SearchMatchesCount
Gets the number of search matches.
Declaration
public int SearchMatchesCount { get; }
Property Value
System.
|
SearchPanelVisibilityMode
Gets or sets a value indicating the user experience with the visibility of the Data
Declaration
public DataGridSearchPanelVisibilityMode SearchPanelVisibilityMode { get; set; }
Property Value
SearchText
Gets or sets the search text. Before a search is started, this value is trimmed, and the Search
Declaration
public string SearchText { get; set; }
Property Value
System.
|
SearchTrigger
Gets or sets a value indicating when a search operation should be performed while the end user is typing in the search entry of the Data
Declaration
public DataGridSearchTrigger SearchTrigger { get; set; }
Property Value
TextMatchMode
Gets or sets a value indicating how a search term should be searched for within a text element.
Declaration
public DataGridSearchTextMatchMode TextMatchMode { get; set; }
Property Value
Methods
GetResultsSummary()
Invoked when updating the Results
Declaration
protected virtual string GetResultsSummary()
Returns
System. Summarized information about the search results in the current search operation. |
OnSearchResultsChanged(IEnumerable<DataGridSearchResultsItem>)
Invoked when the search results change. You can override this method to add custom logic by either adding or removing search matches. You can also call this method to provide custom search matches.
Declaration
public virtual void OnSearchResultsChanged(IEnumerable<DataGridSearchResultsItem> searchResults)
Parameters
System. A collection of search results. |
ProvideSearchMatches(DataGridSearchProbe)
Invoked when probing for search matches. You can override this method and the Matches collection to add custom logic by either adding or removing search matches.
Declaration
protected virtual void ProvideSearchMatches(DataGridSearchProbe probe)
Parameters
Data An entity that contains information about the item, such as text of the item, the effective search text, and more. |
Events
SearchStarting
An event that is raised before searching starts. The effective search text can be changed and searching can be cancelled from the arguments.
Declaration
public event EventHandler<DataGridSearchStartingEventArgs> SearchStarting
Event Type
System.
|