BindingsCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.1.0.0)
Represents a collection of Binding objects for a control.
- C#
- VB.NET
public class BindingsCollection : ICollection, IEnumerable
Public Class BindingsCollection
Inherits ICollection
Implements IEnumerable
Properties
Count
Int32: Returns the total number of bindings in the collection.
Value: The total number of bindings in the collection.
IsReadOnly
Boolean: Returns a value indicating whether the collection is read-only.
Value: This property is always false.
IsSynchronized
Boolean: Returns a value indicating whether access to the ICollection is synchronized.
Value: This property always returns false.
Item(index)
Binding: Returns the Binding at the specified index.
Value: The Binding at the specified index.
Throws:
- IndexOutOfRangeException The collection doesn't contain an item at the specified index.
SyncRoot
Object: Returns an object that can be used to synchronize access to the BaseCollection.
Value: An object that can be used to synchronize the BaseCollection.
Methods
ReadValues()
Reads the current values from the data source and sends them to the control.
WriteValues()
Takes the current values from the control and writes them to the data source.
Events
CollectionChanged
CollectionChangeEventHandler Fired when the collection has changed.
CollectionChanging
CollectionChangeEventHandler Fired when the collection is about to change.