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)

Syntax

Public Interface ISupportInitialize
public interface ISupportInitialize

The ISupportInitialize type exposes the following members.

Methods

  Name Description
BeginInit Signals the object that initialization is starting.
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.

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

System.ComponentModel Namespace