Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BindingOperations.IsDataBound Method (DependencyObject, DependencyProperty)

 

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

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

public static bool IsDataBound(
	DependencyObject target,
	DependencyProperty dp
)

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:
© 2017 Microsoft