ISupportInitialize.EndInit Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Signals the object that initialization is complete.

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

Sub EndInit

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

CType(Me.trackBar1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.trackBar2, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.trackBar3, System.ComponentModel.ISupportInitialize).BeginInit()
Me.trackBar1.Location = New System.Drawing.Point(160, 400)
Me.trackBar1.Name = "trackBar1"
Me.trackBar1.TabIndex = 1
Me.trackBar2.Location = New System.Drawing.Point(608, 40)
Me.trackBar2.Name = "trackBar2"
Me.trackBar2.TabIndex = 2
Me.trackBar3.Location = New System.Drawing.Point(56, 40)
Me.trackBar3.Name = "trackBar3"
Me.trackBar3.TabIndex = 3
CType(Me.trackBar1, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.trackBar2, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.trackBar3, System.ComponentModel.ISupportInitialize).EndInit()

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