Export (0) Print
Expand All

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)

'Declaration
Public Shared Function IsDataBound ( _
	target As DependencyObject, _
	dp As DependencyProperty _
) As Boolean

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 Nothing.

.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