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.

适用于