Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IsDataBound Method

BindingOperations.IsDataBound Method

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.

ExceptionCondition
ArgumentNullException

If target is null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft