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:
property bool EnableDataBinding {
	bool get();
	void set(bool value);
}

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 Windows Forms 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.

.NET Framework
Available since 3.0
Return to top
Show: