You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Learn how to apply filtering and what are the custom filtering options in the Telerik UI for .NET MAUI AutoComplete control.
5
5
position: 7
6
6
slug: autocomplete-filtering
@@ -10,6 +10,30 @@ slug: autocomplete-filtering
10
10
11
11
The Telerik .NET MAUI AutoComplete control filters the source by the entered text. By using the `CompletionMode` (enum of type `Telerik.Maui.Controls.AutoCompleteCompletionMode`) property you can specify how the `ItemsSource` will be filtered when the user types in the input area. The `StartsWith` filters the items that start with the text typed in the input area and the `Contains`—filters the items that contain the text typed in the input area.
12
12
13
+
The filtered items are stored in the `FilteredItems` collection, which can be accessed through the following property:
14
+
15
+
*`FilteredItems` (`IEnumerable`)—Allows you to get the collection containing the search results of the AutoComplete. The property can be used in scenarios where the search results are visualized at a different place or inside another container.
16
+
17
+
When filtering is performed and there are matching items, the items are displayed in the `SuggestionView`. By default, the first item in the `SuggestionView` is highlighted. To modify this behavior, you can use the following property:
18
+
19
+
*`HighlightItemFunc` (`Func<IEnumerable<object>, string, object>`)—Specifies the function used to specify the highlighted item in the drop-down after filtering is performed. The function receives the filtered collection of items and the current search text as parameters and returns the item from the filtered collection that should be highlighted.
The control allows users to define custom filtering logic through the following property:
14
38
15
39
*`Filter` (`Telerik.Maui.Controls.AutoComplete.IAutoCompleteFilter`)—Defines the function that will be used to filter items.
@@ -26,9 +50,6 @@ The function returns true when the item is added into RadAutoComplete `FilteredI
26
50
27
51
>The RadAutoComplete `TextSearchPath` property is required in custom filtering scenarios.
28
52
29
-
## FilteredItems collection
30
-
31
-
*`FilteredItems` bindable property allows you to access the collection containing the search results of the AutoComplete. The property can be used in scenarios where the search results are visualized at a different place or inside another container.
Copy file name to clipboardExpand all lines: controls/checkbox/checked-states.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,13 @@ public class ViewModel : NotifyPropertyChangedBase
54
54
55
55
## Events
56
56
57
+
*`IsCheckedChanging`—Raised when the `RadCheckBox.IsChecked` property is about to be changed. The `IsCheckedChanging` event handler receives two parameters:
58
+
* The `Sender` which is of type `Telerik.Maui.Controls.RadCheckBox`.
59
+
* The `IsCheckedChangingEventArgs`, which provides the following properties:
60
+
*`OldValue`(`bool?`)—Gets the current checked state value before the change.
61
+
*`NewValue`(`bool?`)—Gets the new checked state value that will be applied if the event is not canceled.
62
+
*`Cancel`(`bool`)—If `true`, the change of the `IsChecked` property is canceled.
63
+
57
64
*`IsCheckedChanged`—Occurs when the `RadCheckBox.IsChecked` property is changed. The `IsCheckedChanged` event handler receives two parameters:
58
65
* The `Sender` which is of type `Telerik.Maui.Controls.RadCheckBox`.
59
66
* and `IsCheckedChangedEventArgs`. The `IsCheckedChangedEventArgs` provides the following properties:
Copy file name to clipboardExpand all lines: controls/datagrid/theming-and-styles/columns-styling.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,18 @@ The `SortIndicator` appears once the `RadDataGridColumnHeader` is sorted (tapped
86
86
*`SortIndicatorAscendingText`—Defines the text of the sort indicator when the sorting is ascending.
87
87
*`SortIndicatorDescendingText`—Defines the text of the sort indicator when the sorting is descending.
88
88
*`SortIndicatorHorizontalOptions`—Defines the horizontal options of the sort indicator.
89
+
*`Font Options`(`SortIndicatorFontFamily`, `SortIndicatorFontSize`, `SortIndicatorFontAttributes`)—Define the font options to the sort indicator text.
0 commit comments