Langue

BindingOperations.IsDataBound(DependencyObject, DependencyProperty) Méthode

Définition

Retourne une valeur qui indique si la propriété spécifiée est actuellement liée aux données.

public:
 static bool IsDataBound(System::Windows::DependencyObject ^ target, System::Windows::DependencyProperty ^ dp);
public static bool IsDataBound(System.Windows.DependencyObject target, System.Windows.DependencyProperty dp);
static member IsDataBound : System.Windows.DependencyObject * System.Windows.DependencyProperty -> bool
Public Shared Function IsDataBound (target As DependencyObject, dp As DependencyProperty) As Boolean

Paramètres

target
DependencyObject

Objet dans lequel dp se trouve l’objet.

dp
DependencyProperty

Propriété de dépendance à vérifier.

Retours

true si la propriété spécifiée est liée aux données ; sinon, false.

Exceptions

Si target c’est null.

S’applique à