'Declaration Public Enum BindingRetentionMode Inherits System.Enum
public enum BindingRetentionMode : System.Enum
Member | Description |
---|---|
AutoRelease | Default. Bindings are created as necessary when unbound field's value is accessed and then they are discarded to preserve memory. |
Retain | Bindings are created as necessary when unbound field's value is accessed and they are retained so when the unbound field's value is accessed again in the future, the previously created binding object will be reused and there won't be a need for re-creating the binding object. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2