ColorConvertedBitmap::EndInit Method ()


Signals the end of the ColorConvertedBitmap initialization.

Namespace:   System.Windows.Media.Imaging
Assembly:  PresentationCore (in PresentationCore.dll)

virtual void EndInit() sealed

Exception Condition

The Source, SourceColorContext, or DestinationColorContext property is null.


The EndInit method is called without first calling BeginInit.

Property initialization must be done between BeginInit and EndInit calls. After the ColorConvertedBitmap has been initialized, property changes are ignored.

The following example shows how to use the EndInit method in order to change the properties of a ColorConvertedBitmap.

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

.NET Framework
Available since 3.0
Return to top