ISupportInitializeNotification 接口

定义

允许协调组件及其依赖属性的初始化。Allows coordination of initialization for a component and its dependent properties.

public interface class ISupportInitializeNotification : System::ComponentModel::ISupportInitialize
public interface ISupportInitializeNotification : System.ComponentModel.ISupportInitialize
type ISupportInitializeNotification = interface
    interface ISupportInitialize
Public Interface ISupportInitializeNotification
Implements ISupportInitialize
派生
实现

注解

当组件具有对还实现ISupportInitializeNotification接口的其他组件的初始化依赖项时, 应实现此接口。You should implement this interface when your component has initialization dependencies on other components that also implement the ISupportInitializeNotification interface. 可以通过检查IsInitialized属性来检查相关组件是否已完成初始化。You can check to see if the dependent components have completed initialization by checking the IsInitialized property.

ISupportInitializeNotificationBindingSourceListControl类型实现。ISupportInitializeNotification is implemented by the BindingSource and ListControl types.

属性

IsInitialized

获取一个值,该值指示是否初始化组件。Gets a value indicating whether the component is initialized.

方法

BeginInit()

用信号通知对象初始化即将开始。Signals the object that initialization is starting.

(继承自 ISupportInitialize)
EndInit()

用信号通知对象初始化已完成。Signals the object that initialization is complete.

(继承自 ISupportInitialize)

事件

Initialized

组件初始化完成时出现。Occurs when initialization of the component is completed.

适用于