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 où dp existe.

dp
DependencyProperty

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

Retours

Boolean

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

Exceptions

Si target est null.

S’applique à