IsPropertyBound Method

ControlDesigner.IsPropertyBound Method (String)

obsoleteCodeEntityM:System.Web.UI.DataBindingCollection.Contains(System.String)Note: This API is now obsolete.

Retrieves a value indicating whether the specified property on the associated control is data-bound.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

[ObsoleteAttribute("The recommended alternative is DataBindings.Contains(string). The DataBindings collection allows more control of the databindings associated with the control.")]
public bool IsPropertyBound(
	string propName


Type: System.String

The property to test for data binding.

Return Value

Type: System.Boolean

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


The IsPropertyBound method is obsolete. Use the Contains method on the DataBindings property for equivalent control designer functionality.

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft