ISupportInitialize Interface


Specifies that this object supports a simple, transacted notification for batch initialization.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

type ISupportInitialize = interface end


Signals the object that initialization is starting.


Signals the object that initialization is complete.

ISupportInitialize allows controls to optimize multiple property assignments. As a result, you can initialize co-dependent properties or batch set multiple properties at design time.

Call the BeginInit method to signal the object that initialization is starting. Call the EndInit method to signal that initialization is complete.

The following code example demonstrates how to use the ISupportInitialize interface to initialize three TrackBar controls.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Return to top