PropertyManager Class
TOC
Collapse the table of content
Expand the table of content

PropertyManager Class

 

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

System.Object
  System.Windows.Forms.BindingManagerBase
    System.Windows.Forms.PropertyManager

public class PropertyManager : BindingManagerBase

NameDescription
System_CAPS_pubmethodPropertyManager()

Initializes a new instance of the PropertyManager class.

NameDescription
System_CAPS_pubpropertyBindings

Gets the collection of bindings being managed.(Inherited from BindingManagerBase.)

System_CAPS_pubpropertyCount

When overridden in a derived class, gets the number of rows managed by the BindingManagerBase.(Overrides BindingManagerBase.Count.)

System_CAPS_pubpropertyCurrent

Gets the object to which the data-bound property belongs.(Overrides BindingManagerBase.Current.)

System_CAPS_pubpropertyIsBindingSuspended

Gets a value indicating whether binding is suspended.(Inherited from BindingManagerBase.)

System_CAPS_pubpropertyPosition

When overridden in a derived class, gets or sets the position in the underlying list that controls bound to this data source point to.(Overrides BindingManagerBase.Position.)

NameDescription
System_CAPS_pubmethodAddNew()

When overridden in a derived class, adds a new item to the underlying list.(Overrides BindingManagerBase.AddNew().)

System_CAPS_pubmethodCancelCurrentEdit()

When overridden in a derived class, cancels the current edit.(Overrides BindingManagerBase.CancelCurrentEdit().)

System_CAPS_pubmethodEndCurrentEdit()

When overridden in a derived class, ends the current edit.(Overrides BindingManagerBase.EndCurrentEdit().)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetItemProperties()

When overridden in a derived class, gets the collection of property descriptors for the binding.(Inherited from BindingManagerBase.)

System_CAPS_protmethodGetItemProperties(ArrayList, ArrayList)

Gets the collection of property descriptors for the binding using the specified ArrayList.(Inherited from BindingManagerBase.)

System_CAPS_protmethodGetItemProperties(Type, Int32, ArrayList, ArrayList)

Gets the list of properties of the items managed by this BindingManagerBase.(Inherited from BindingManagerBase.)

System_CAPS_protmethodGetListName(ArrayList)

When overridden in a derived class, gets the name of the list supplying the data for the binding.(Overrides BindingManagerBase.GetListName(ArrayList).)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnBindingComplete(BindingCompleteEventArgs)

Raises the BindingComplete event. (Inherited from BindingManagerBase.)

System_CAPS_protmethodOnCurrentChanged(EventArgs)
System_CAPS_protmethodOnCurrentItemChanged(EventArgs)
System_CAPS_protmethodOnDataError(Exception)

Raises the DataError event.(Inherited from BindingManagerBase.)

System_CAPS_protmethodPullData()

Pulls data from the data-bound control into the data source, returning no information.(Inherited from BindingManagerBase.)

System_CAPS_protmethodPushData()

Pushes data from the data source into the data-bound control, returning no information.(Inherited from BindingManagerBase.)

System_CAPS_pubmethodRemoveAt(Int32)

When overridden in a derived class, deletes the row at the specified index from the underlying list.(Overrides BindingManagerBase.RemoveAt(Int32).)

System_CAPS_pubmethodResumeBinding()

When overridden in a derived class, resumes data binding.(Overrides BindingManagerBase.ResumeBinding().)

System_CAPS_pubmethodSuspendBinding()

Suspends the data binding between a data source and a data-bound property.(Overrides BindingManagerBase.SuspendBinding().)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_protmethodUpdateIsBinding()

Updates the current Binding between a data binding and a data-bound property.(Overrides BindingManagerBase.UpdateIsBinding().)

NameDescription
System_CAPS_protfieldonCurrentChangedHandler

Specifies the event handler for the CurrentChanged event.(Inherited from BindingManagerBase.)

System_CAPS_protfieldonPositionChangedHandler

Specifies the event handler for the PositionChanged event.(Inherited from BindingManagerBase.)

NameDescription
System_CAPS_pubeventBindingComplete

Occurs at the completion of a data-binding operation.(Inherited from BindingManagerBase.)

System_CAPS_pubeventCurrentChanged

Occurs when the currently bound item changes.(Inherited from BindingManagerBase.)

System_CAPS_pubeventCurrentItemChanged

Occurs when the state of the currently bound item changes.(Inherited from BindingManagerBase.)

System_CAPS_pubeventDataError

Occurs when an Exception is silently handled by the BindingManagerBase. (Inherited from BindingManagerBase.)

System_CAPS_pubeventPositionChanged

Occurs after the value of the Position property has changed.(Inherited from BindingManagerBase.)

The PropertyManager inherits from the 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 Position or Count property for a PropertyManager has no effect. Similarly, the AddNew and RemoveAt methods are not supported because there is no underlying list of data to add to or delete from. In addition, a call to IsBindingSuspended will always return false if the PropertyManager has a data source, regardless of whether SuspendBinding has been called.

.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft