Partager via


SearchHandler Classe

Définition

Implémentation par défaut de ISearchHandlerController.

public ref class SearchHandler : Microsoft::Maui::Controls::BindableObject, Microsoft::Maui::Controls::Internals::IFontElement, Microsoft::Maui::Controls::ISearchHandlerController
public class SearchHandler : Microsoft.Maui.Controls.BindableObject, Microsoft.Maui.Controls.Internals.IFontElement, Microsoft.Maui.Controls.ISearchHandlerController
type SearchHandler = class
    inherit BindableObject
    interface ISearchHandlerController
    interface IFontElement
Public Class SearchHandler
Inherits BindableObject
Implements IFontElement, ISearchHandlerController
Héritage
SearchHandler
Implémente

Constructeurs

SearchHandler()

Implémentation par défaut de ISearchHandlerController.

Champs

AutomationIdProperty

Propriété bindable pour AutomationId.

BackgroundColorProperty

Propriété bindable pour BackgroundColor.

CancelButtonColorProperty

Propriété bindable pour CancelButtonColor.

CharacterSpacingProperty

Propriété bindable pour CharacterSpacing.

ClearIconHelpTextProperty

Propriété bindable pour ClearIconHelpText.

ClearIconNameProperty

Propriété bindable pour ClearIconName.

ClearIconProperty

Propriété bindable pour ClearIcon.

ClearPlaceholderCommandParameterProperty

Propriété bindable pour ClearPlaceholderCommandParameter.

ClearPlaceholderCommandProperty

Propriété bindable pour ClearPlaceholderCommand.

ClearPlaceholderEnabledProperty

Propriété bindable pour ClearPlaceholderEnabled.

ClearPlaceholderHelpTextProperty

Propriété bindable pour ClearPlaceholderHelpText.

ClearPlaceholderIconProperty

Propriété bindable pour ClearPlaceholderIcon.

ClearPlaceholderNameProperty

Propriété bindable pour ClearPlaceholderName.

CommandParameterProperty

Propriété bindable pour CommandParameter.

CommandProperty

Propriété bindable pour Command.

DisplayMemberNameProperty

Propriété bindable pour DisplayMemberName.

FontAttributesProperty

Propriété bindable pour FontAttributes.

FontAutoScalingEnabledProperty

Propriété bindable pour FontAutoScalingEnabled.

FontFamilyProperty

Propriété bindable pour FontFamily.

FontSizeProperty

Propriété bindable pour FontSize.

HorizontalTextAlignmentProperty

Propriété bindable pour HorizontalTextAlignment.

IsFocusedProperty

Propriété bindable pour IsFocused.

IsFocusedPropertyKey

Implémentation par défaut de ISearchHandlerController.

IsSearchEnabledProperty

Propriété bindable pour IsSearchEnabled.

ItemsSourceProperty

Propriété bindable pour ItemsSource.

ItemTemplateProperty

Propriété bindable pour ItemTemplate.

KeyboardProperty

Propriété bindable pour Keyboard.

PlaceholderColorProperty

Propriété bindable pour PlaceholderColor.

PlaceholderProperty

Propriété bindable pour Placeholder.

QueryIconHelpTextProperty

Propriété bindable pour QueryIconHelpText.

QueryIconNameProperty

Propriété bindable pour QueryIconName.

QueryIconProperty

Propriété bindable pour QueryIcon.

QueryProperty

Propriété bindable pour Query.

SearchBoxVisibilityProperty

Propriété bindable pour SearchBoxVisibility.

SelectedItemProperty

Magasin de stockage pour le champ SelectedItem.

ShowsResultsProperty

Propriété bindable pour ShowsResults.

TextColorProperty

Propriété bindable pour TextColor.

TextTransformProperty

Propriété bindable pour TextTransform.

VerticalTextAlignmentProperty

Propriété bindable pour VerticalTextAlignment.

Propriétés

AutomationId

Implémentation par défaut de ISearchHandlerController.

BackgroundColor

Implémentation par défaut de ISearchHandlerController.

BindingContext

Obtient ou définit un objet qui contient les propriétés qui seront ciblées par les propriétés liées qui appartiennent à ce BindableObject. Il s’agit d’une propriété pouvant être liée.

(Hérité de BindableObject)
CancelButtonColor

Implémentation par défaut de ISearchHandlerController.

CharacterSpacing

Implémentation par défaut de ISearchHandlerController.

ClearIcon

Icône affichée pour effacer le contenu de la zone de recherche.

ClearIconHelpText

Texte d’aide accessible pour l’icône d’effacement.

ClearIconName

Nom de l’icône d’effacement pour une utilisation avec les lecteurs d’écran.

ClearPlaceholderCommand

ICommand exécutée lorsque ClearPlaceholderIcon est activé par un clic.

ClearPlaceholderCommandParameter

Paramètre passé à ClearPlaceholderCommand.

ClearPlaceholderEnabled

Détermine si ClearPlaceholderCommand peut être exécuté.

ClearPlaceholderHelpText

Texte d’aide accessible pour ClearPlaceholderIcon.

ClearPlaceholderIcon

Icône d’espace réservé d’effacement affichée lorsque la zone de recherche est vide.

ClearPlaceholderName

Nom de l’icône d’espace réservé d’effacement pour une utilisation avec les lecteurs d’écran.

Command

Obtient ou définit ICommand exécutée lorsque la requête de recherche est confirmée.

CommandParameter

Obtient ou définit le paramètre de Command, qui est exécuté lorsque la requête de recherche est confirmée.

Dispatcher

Obtient le répartiteur qui était disponible lors de la création de cet objet pouvant être lié, sinon, tente de trouver le répartiteur disponible le plus proche (probablement celui de la fenêtre/de l’application).

(Hérité de BindableObject)
DisplayMemberName
Obsolète.

Nom de la propriété ou chemin d’accès à la propriété qui est affichée pour chaque élément des données dans la collection ItemsSource.

FontAttributes

Implémentation par défaut de ISearchHandlerController.

FontAutoScalingEnabled

Implémentation par défaut de ISearchHandlerController.

FontFamily

Implémentation par défaut de ISearchHandlerController.

FontSize

Implémentation par défaut de ISearchHandlerController.

HorizontalTextAlignment

Implémentation par défaut de ISearchHandlerController.

IsFocused

Implémentation par défaut de ISearchHandlerController.

IsSearchEnabled

Obtient ou définit une valeur indiquant si la zone de recherche est activée.

ItemsSource

Collection d’éléments à afficher dans la zone de suggestion. La valeur par défaut est null.

ItemTemplate

DataTemplate à appliquer à chaque élément dans ItemsSource.

Keyboard

Implémentation par défaut de ISearchHandlerController.

Placeholder

Texte à afficher lorsque la zone de recherche est vide.

PlaceholderColor

Implémentation par défaut de ISearchHandlerController.

Query

Obtient ou définit le texte de la zone de recherche.

QueryIcon

Icône utilisée pour indiquer que la recherche est disponible.

QueryIconHelpText

Texte d’aide accessible pour QueryIcon.

QueryIconName

Nom de QueryIcon pour une utilisation avec les lecteurs d’écran.

SearchBoxVisibility

Obtient ou définit une valeur indiquant si la zone de recherche est visible.

SelectedItem

Implémentation par défaut de ISearchHandlerController.

ShowsResults

Obtient ou définit si les résultats de la recherche doivent être attendus dans la zone de suggestion lors de la saisie de texte.

TextColor

Implémentation par défaut de ISearchHandlerController.

TextTransform

Implémentation par défaut de ISearchHandlerController.

VerticalTextAlignment

Implémentation par défaut de ISearchHandlerController.

Méthodes

ApplyBindings()

Applique toutes les liaisons actuelles à BindingContext.

(Hérité de BindableObject)
ClearValue(BindableProperty)

Efface toute valeur précédemment définie pour une propriété pouvant être liée.

(Hérité de BindableObject)
ClearValue(BindablePropertyKey)

Efface toute valeur précédemment définie pour une propriété pouvant être liée, identifiée par sa clé.

(Hérité de BindableObject)
CoerceValue(BindableProperty)

Force la valeur de la propriété pouvant être liée spécifiée. Pour ce faire, appelez BindableProperty.CoerceValueDelegate la propriété pouvant être liée spécifiée.

(Hérité de BindableObject)
CoerceValue(BindablePropertyKey)

Force la valeur de la propriété pouvant être liée spécifiée. Pour ce faire, appelez BindableProperty.CoerceValueDelegate la propriété pouvant être liée spécifiée.

(Hérité de BindableObject)
Focus()

Implémentation par défaut de ISearchHandlerController.

GetValue(BindableProperty)

Retourne la valeur contenue dans la propriété pouvant être liée donnée.

(Hérité de BindableObject)
IsSet(BindableProperty)

Détermine s’il existe ou non une propriété pouvant être liée et a une valeur définie.

(Hérité de BindableObject)
OnBindingContextChanged()

Déclenche l’événement BindingContextChanged.

(Hérité de BindableObject)
OnClearPlaceholderClicked()

Implémentation par défaut de ISearchHandlerController.

OnFocused()

Implémentation par défaut de ISearchHandlerController.

OnItemSelected(Object)

Implémentation par défaut de ISearchHandlerController.

OnPropertyChanged(String)

Déclenche l’événement PropertyChanged.

(Hérité de BindableObject)
OnPropertyChanging(String)

Déclenche l’événement PropertyChanging.

(Hérité de BindableObject)
OnQueryChanged(String, String)

Implémentation par défaut de ISearchHandlerController.

OnQueryConfirmed()

Implémentation par défaut de ISearchHandlerController.

OnUnfocus()

Implémentation par défaut de ISearchHandlerController.

RemoveBinding(BindableProperty)

Supprime une liaison précédemment définie d’une propriété pouvant être liée.

(Hérité de BindableObject)
SetBinding(BindableProperty, BindingBase)

Affecte une liaison à une propriété pouvant être liée.

(Hérité de BindableObject)
SetIsFocused(Boolean)

Implémentation par défaut de ISearchHandlerController.

SetValue(BindableProperty, Object)

Définit la valeur de la propriété pouvant être liée spécifiée.

(Hérité de BindableObject)
SetValue(BindablePropertyKey, Object)

Définit la valeur de la propriété pouvant être liée spécifiée.

(Hérité de BindableObject)
UnapplyBindings()

Supprime toutes les liaisons actuelles du contexte actuel.

(Hérité de BindableObject)
Unfocus()

Implémentation par défaut de ISearchHandlerController.

UpdateFormsText(String, TextTransform)

Implémentation par défaut de ISearchHandlerController.

Événements

BindingContextChanged

Se produit quand la valeur de la propriété BindingContext change.

(Hérité de BindableObject)
FocusChangeRequested

Implémentation par défaut de ISearchHandlerController.

Focused

Implémentation par défaut de ISearchHandlerController.

PropertyChanged

Se produit en cas de modification d'une valeur de propriété.

(Hérité de BindableObject)
PropertyChanging

Se produit lorsqu'une valeur de propriété change.

(Hérité de BindableObject)
Unfocused

Implémentation par défaut de ISearchHandlerController.

Implémentations d’interfaces explicites

IDynamicResourceHandler.SetDynamicResource(BindableProperty, String)

Implémentation par défaut de ISearchHandlerController.

(Hérité de BindableObject)
IFontElement.FontSizeDefaultValueCreator()

Implémentation par défaut de ISearchHandlerController.

IFontElement.OnFontAttributesChanged(FontAttributes, FontAttributes)

Implémentation par défaut de ISearchHandlerController.

IFontElement.OnFontAutoScalingEnabledChanged(Boolean, Boolean)

Implémentation par défaut de ISearchHandlerController.

IFontElement.OnFontFamilyChanged(String, String)

Implémentation par défaut de ISearchHandlerController.

IFontElement.OnFontSizeChanged(Double, Double)

Implémentation par défaut de ISearchHandlerController.

ISearchHandlerController.ClearPlaceholderClicked()

Implémentation par défaut de ISearchHandlerController.

ISearchHandlerController.ItemSelected(Object)

Implémentation par défaut de ISearchHandlerController.

ISearchHandlerController.ListProxy

Implémentation par défaut de ISearchHandlerController.

ISearchHandlerController.ListProxyChanged

Implémentation par défaut de ISearchHandlerController.

ISearchHandlerController.QueryConfirmed()

Implémentation par défaut de ISearchHandlerController.

Méthodes d’extension

GetPropertyIfSet<T>(BindableObject, BindableProperty, T)

Implémentation par défaut de ISearchHandlerController.

SetAppTheme<T>(BindableObject, BindableProperty, T, T)

Implémentation par défaut de ISearchHandlerController.

SetAppThemeColor(BindableObject, BindableProperty, Color, Color)

Implémentation par défaut de ISearchHandlerController.

SetBinding(BindableObject, BindableProperty, String, BindingMode, IValueConverter, String)

Crée et applique une liaison à une propriété.

ToFont(IFontElement, Nullable<Double>)

Implémentation par défaut de ISearchHandlerController.

S’applique à