This documentation is archived and is not being maintained.

ImportOptions.EnableDataBinding Property

Gets or sets a value that specifies whether types in generated code should implement the INotifyPropertyChanged interface.

Namespace:  System.Runtime.Serialization
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

public bool EnableDataBinding { get; set; }

Property Value

Type: System.Boolean
true if the generated code should implement the INotifyPropertyChanged interface; otherwise, false. The default is false.

This interface is used by .NET Framework components, such as Winforms or Windows Presentation Foundation, to capture data changes for user interface updates. The generated properties raise a property-changed event when the value changes, allowing UI hooks to act accordingly.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0