System.ComponentModel (system.dll) | interface |
Classes should implement this interface if they support the batched
initialization of their properties. You would also implement it if
you need to know that you are in the designer in your constructor, as
DesignMode is not yet valid (because your
Site will not have been set).
BeginInit() is called to start batching updates,
and EndInit() ends batching and normally causes
any update events to be raised.
public interface ISupportInitialize {
// Public Instance Methods
public void BeginInit();
public void EndInit();
}
Implemented By
System.Diagnostics.{EventLog,
PerformanceCounter},
System.IO.FileSystemWatcher,
System.Timers.Timer,
System.Windows.Forms.{AxHost,
DataGrid, NumericUpDown,
StatusBarPanel, TrackBar}
|