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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για