ImportOptions.EnableDataBinding Property

Definition

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

public:
 property bool EnableDataBinding { bool get(); void set(bool value); };
public bool EnableDataBinding { get; set; }
member this.EnableDataBinding : bool with get, set
Public Property EnableDataBinding As Boolean

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