IBindableComponent 介面

定義

啟用非控制項元件,模擬 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
衍生
實作

備註

會透過IBindableComponent Binding 屬性包含其擁有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

取得或設定 IBindableComponent 的 Currency 管理員集合。Gets or sets the collection of currency managers for the IBindableComponent.

DataBindings

取得這個 IBindableComponent 的資料繫結物件集合。Gets the collection of data-binding objects for this IBindableComponent.

Site

取得或設定與 ISite 相關聯的 IComponentGets or sets the ISite associated with the IComponent.

(繼承來源 IComponent)

方法

Dispose()

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

(繼承來源 IDisposable)

事件

Disposed

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

(繼承來源 IComponent)

適用於

另請參閱