AntCollectionCollectionLock Field

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 -
C#
BindingOperations.EnableCollectionSynchronization(viewModel.AntDevices, viewModel.AntDevices.CollectionLock);

Definition

Namespace: SmallEarthTech.AntPlus.Extensions.Hosting
Assembly: SmallEarthTech.AntPlus.Extensions.Hosting (in SmallEarthTech.AntPlus.Extensions.Hosting.dll) Version: 1.2.1+506fd73c3b72ad19a414fa5c6d86694cac54d86e
C#
public Object CollectionLock

Field Value

Object

See Also