ImportOptions.EnableDataBinding Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för