ControlDesigner.IsPropertyBound(String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- propName
- String
The property to test for data binding.
true
, if the property is data-bound; otherwise, false
.
- Attributes
Note
The IsPropertyBound method is obsolete. Use the Contains method on the DataBindings property for equivalent control designer functionality.
Product | Versions (Obsolete) |
---|---|
.NET Framework | 1.1 (2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: