Uređivanje

Dijeli putem


ControlDesigner.IsPropertyBound(String) Method

Definition

Caution

The recommended alternative is DataBindings.Contains(string). The DataBindings collection allows more control of the databindings associated with the control. http://go.microsoft.com/fwlink/?linkid=14202

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

public:
 bool IsPropertyBound(System::String ^ propName);
public bool IsPropertyBound (string propName);
[System.Obsolete("The recommended alternative is DataBindings.Contains(string). The DataBindings collection allows more control of the databindings associated with the control. http://go.microsoft.com/fwlink/?linkid=14202")]
public bool IsPropertyBound (string propName);
member this.IsPropertyBound : string -> bool
[<System.Obsolete("The recommended alternative is DataBindings.Contains(string). The DataBindings collection allows more control of the databindings associated with the control. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.IsPropertyBound : string -> bool
Public Function IsPropertyBound (propName As String) As Boolean

Parameters

propName
String

The property to test for data binding.

Returns

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

Attributes

Remarks

Note

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

Applies to

See also