IBindableComponent IBindableComponent IBindableComponent IBindableComponent Interface

定义

使非控件组件可以模拟 Windows 窗体控件的数据绑定行为。Enables a non-control component to emulate the data-binding behavior of a Windows Forms control.

public interface class IBindableComponent : IDisposable, System::ComponentModel::IComponent
public interface IBindableComponent : IDisposable, System.ComponentModel.IComponent
type IBindableComponent = interface
    interface IComponent
    interface IDisposable
Public Interface IBindableComponent
Implements IComponent, IDisposable
派生
实现

注解

Binding包含IBindableComponent通过属性BindableComponent对其所有者的引用。A Binding contains a reference to its IBindableComponent owner through the BindableComponent property.

类实现此接口, 因此, 如果可绑定组件继承自Control, 则无需实现此接口。 ControlThe Control class implements this interface, so if your bindable component inherits from Control, you do not need to implement this interface.

属性

BindingContext BindingContext BindingContext BindingContext

获取或设置 IBindableComponent 的货币管理器的集合。Gets or sets the collection of currency managers for the IBindableComponent.

DataBindings DataBindings DataBindings DataBindings

获取此 IBindableComponent 的数据绑定对象的集合。Gets the collection of data-binding objects for this IBindableComponent.

Site Site Site Site

获取或设置与 ISite 关联的 IComponentGets or sets the ISite associated with the IComponent.

(Inherited from IComponent)

事件

Disposed Disposed Disposed Disposed

表示处理组件的 Disposed 事件的方法。Represents the method that handles the Disposed event of a component.

(Inherited from IComponent)

方法

Dispose() Dispose() Dispose() Dispose()

执行与释放或重置非托管资源关联的应用程序定义的任务。Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from IDisposable)

适用于

另请参阅