BindingOperations.IsDataBound Method (DependencyObject, DependencyProperty)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns a value that indicates whether the specified property is currently data-bound.

Namespace:   System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

static member IsDataBound : 
        target:DependencyObject *
        dp:DependencyProperty -> bool

Parameters

target
Type: System.Windows.DependencyObject

The object where dp is.

dp
Type: System.Windows.DependencyProperty

The dependency property to check.

Return Value

Type: System.Boolean

true if the specified property is data-bound; otherwise, false.

Exception Condition
ArgumentNullException

If target is null.

.NET Framework
Available since 3.0
Return to top
Show: