Windows Dev Center

ISupportInitialize Interface

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

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

public interface ISupportInitialize

The ISupportInitialize type exposes the following members.

Public methodBeginInitSignals the object that initialization is starting.
Public methodEndInitSignals 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.

XAML processing can call into ISupportInitialize as part of its XAML type loading behavior, if you implement ISupportInitialize on a custom type.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

© 2015 Microsoft