public class AntCollection : ObservableCollection<AntDevice>,
IDisposablePublic Class AntCollection
Inherits ObservableCollection(Of AntDevice)
Implements IDisposablepublic ref class AntCollection : public ObservableCollection<AntDevice^>,
IDisposabletype AntCollection =
class
inherit ObservableCollection<AntDevice>
interface IDisposable
end| AntCollection | Initializes a new instance of the AntCollection class. The ANT radio is initialized for continuous scan mode. |
| Count | (Inherited from CollectionAntDevice) |
| Item | (Inherited from CollectionAntDevice) |
| Items | (Inherited from CollectionAntDevice) |
| CollectionChanged | (Inherited from ObservableCollectionAntDevice) |
| PropertyChanged | (Inherited from ObservableCollectionAntDevice) |
| CollectionLock |
The collection lock typically used by WPF applications to synchronize UI updates when devices are added or
removed from the collection. For example, in the code behind for a window that is using this collection
would include the following line in its constructor -
BindingOperations.EnableCollectionSynchronization(viewModel.AntDevices, viewModel.AntDevices.CollectionLock); |