Table of Contents

Property DisconnectedSource

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

DisconnectedSource

A sentinel object. Alternet UI assigns this as the DataContext of elements that leave an ItemsControl because (a) the corresponding item is removed from the ItemsSource collection, or (b) the element is scrolled out of view and re-virtualized. Bindings that use DataContext react by unhooking from property-changed events. This keeps the discarded elements from interfering with the still-visible elements.

public static object DisconnectedSource { get; }

Property Value

object