Edit

Share via


ImportOptions.EnableDataBinding Property

Definition

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

C#
public bool EnableDataBinding { get; set; }

Property Value

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

Remarks

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.

Applies to

Product Versions