BaseDataListDesigner.OnPropertyBuilder(Object, EventArgs) 方法

定义

表示处理属性生成器事件的方法。Represents the method that handles the property-builder event.

protected:
 void OnPropertyBuilder(System::Object ^ sender, EventArgs ^ e);
protected void OnPropertyBuilder (object sender, EventArgs e);
member this.OnPropertyBuilder : obj * EventArgs -> unit
Protected Sub OnPropertyBuilder (sender As Object, e As EventArgs)

参数

sender
Object

作为事件源的 ObjectAn Object that is the source of the event.

e
EventArgs

包含事件数据的 EventArgs 对象。An EventArgs object that contains the event data.

注解

OnPropertyBuilder方法为派生自类的关联控件调用组件编辑器 BaseDataListThe OnPropertyBuilder method invokes a component editor for the associated control that is derived from the BaseDataList class. 它创建 DataGridComponentEditorDataListComponentEditor 对象,然后调用 EditComponent 组件编辑器的方法。It creates a DataGridComponentEditor or DataListComponentEditor object, and then invokes the EditComponent method of the component editor.

适用于

另请参阅