IBindableComponent IBindableComponent IBindableComponent IBindableComponent Interface

定義

啟用非控制項元件,模擬 Windows Forms 控制項的資料繫結行為。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
衍生
實作

備註

ABinding包含參考其IBindableComponent擁有者透過BindableComponent屬性。A Binding contains a reference to its IBindableComponent owner through the BindableComponent property.

Control類別會實作這個介面,因此,如果您繫結的元件繼承自Control,您不需要實作這個介面。The 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 的 Currency 管理員集合。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()

執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from IDisposable)

適用於

另請參閱