ISupportInitialize Interface
Collapse the table of content
Expand the table of content

ISupportInitialize Interface

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

© 2017 Microsoft