BackButtonBehavior Classe

Définition

BindableObject spécifiant le comportement associé au bouton Précédent dans une application Shell.

public ref class BackButtonBehavior : Microsoft::Maui::Controls::BindableObject
public class BackButtonBehavior : Microsoft.Maui.Controls.BindableObject
type BackButtonBehavior = class
    inherit BindableObject
Public Class BackButtonBehavior
Inherits BindableObject
Héritage
BackButtonBehavior

Constructeurs

BackButtonBehavior()

BindableObject spécifiant le comportement associé au bouton Précédent dans une application Shell.

Champs

CommandParameterProperty

Propriété bindable pour CommandParameter.

CommandProperty

Propriété bindable pour Command.

IconOverrideProperty

Propriété bindable pour IconOverride.

IsEnabledProperty

Propriété bindable pour IsEnabled.

IsVisibleProperty

Propriété bindable pour IsVisible.

TextOverrideProperty

Propriété bindable pour TextOverride.

Propriétés

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)
Command

BindableObject spécifiant le comportement associé au bouton Précédent dans une application Shell.

CommandParameter

BindableObject spécifiant le comportement associé au bouton Précédent dans une application Shell.

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)
IconOverride

BindableObject spécifiant le comportement associé au bouton Précédent dans une application Shell.

IsEnabled

BindableObject spécifiant le comportement associé au bouton Précédent dans une application Shell.

IsVisible

BindableObject spécifiant le comportement associé au bouton Précédent dans une application Shell.

TextOverride

BindableObject spécifiant le comportement associé au bouton Précédent dans une application Shell.

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)
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)
OnPropertyChanged(String)

Déclenche l’événement PropertyChanged.

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

Déclenche l’événement PropertyChanging.

(Hérité de BindableObject)
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)
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)
SetValueCore(BindableProperty, Object, SetValueFlags)

Pour une utilisation interne par la plateforme Microsoft.Maui.Controls.

(Hérité de BindableObject)
UnapplyBindings()

Supprime toutes les liaisons actuelles du contexte actuel.

(Hérité de BindableObject)

Événements

BindingContextChanged

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

(Hérité de BindableObject)
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)

Implémentations d’interfaces explicites

IDynamicResourceHandler.SetDynamicResource(BindableProperty, String)

BindableObject spécifiant le comportement associé au bouton Précédent dans une application Shell.

(Hérité de BindableObject)

Méthodes d’extension

GetPropertyIfSet<T>(BindableObject, BindableProperty, T)

BindableObject spécifiant le comportement associé au bouton Précédent dans une application Shell.

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

BindableObject spécifiant le comportement associé au bouton Précédent dans une application Shell.

SetAppThemeColor(BindableObject, BindableProperty, Color, Color)

BindableObject spécifiant le comportement associé au bouton Précédent dans une application Shell.

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

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

S’applique à