System.Windows.Forms.PropertyManager Class

Maintains a System.Windows.Forms.Binding between an object's property and a data-bound control property.

See Also: PropertyManager Members

Syntax

public class PropertyManager : BindingManagerBase

Remarks

The System.Windows.Forms.PropertyManager inherits from the System.Windows.Forms.BindingManagerBase, and it is used to maintain the current property of an object, rather than the property of a current object in a list. For this reason, trying to set the BindingManagerBase.Position or BindingManagerBase.Count property for a System.Windows.Forms.PropertyManager has no effect. Similarly, the BindingManagerBase.AddNew and BindingManagerBase.RemoveAt(int) methods are not supported because there is no underlying list of data to add to or delete from. In addition, a call to BindingManagerBase.IsBindingSuspended will always return false if the System.Windows.Forms.PropertyManager has a data source, regardless of whether BindingManagerBase.SuspendBinding has been called.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0