OnPorpertyChanged method, what is this?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

the sample
http://samples.gotdotnet.com/quickstart/winforms/doc/WinFo
rmsCreatingControls.aspx

uses the RaisePropertyChangedEvent("DrawingMode") call,
but i cannot find it in the source!!!

And it also overrides:
//Override OnPropertyChanged to raise the
DrawingModeChanged event
protected override void OnPropertyChanged
(PropertyChangedEventArgs e) {
base.OnPropertyChanged(e);
string d = e.PropertyName;

if (d.Equals("DrawingMode")) {
OnDrawingModeChanged(EventArgs.Empty);
}

}


Neither can i find that in the sample code :( !!! But i
also cannot find this methods in the msdn docu. I cannot
paste that code, because such members do not exists. What
is going on here. Please tell me because i am really
upset about this.

Greetings
 
Hello,

You can refer to the following MSDN articles for more information:

"Windows Forms Data Binding and Objects" by Rockford Lhotka

and

"Property Usage Guidelines" (.NET Framework General Reference)
 
Back
Top