Share via


ISupportInitialize Interface

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Syntax

'Declaration
Public Interface ISupportInitialize
public interface ISupportInitialize

The ISupportInitialize type exposes the following members.

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone BeginInit Signals the object that initialization is starting.
Public methodSupported by Silverlight for Windows Phone EndInit Signals the object that initialization is complete.

Top

Remarks

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.

Silverlight XAML processing can call into ISupportInitialize as part of its XAML type loading behavior, if you implement ISupportInitialize on a custom type. For more information, see XAML and Custom Classes.

Version Information

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference