DataBindingCollectionEditor 类

定义

注意

Use of this type is not recommended because DataBindings editing is launched via a DesignerActionList instead of the property grid. http://go.microsoft.com/fwlink/?linkid=14202

提供一个用户界面,用于编辑数据绑定的集合。Provides a user interface for editing a collection of data bindings.

public ref class DataBindingCollectionEditor : System::Drawing::Design::UITypeEditor
public class DataBindingCollectionEditor : System.Drawing.Design.UITypeEditor
[System.Obsolete("Use of this type is not recommended because DataBindings editing is launched via a DesignerActionList instead of the property grid. http://go.microsoft.com/fwlink/?linkid=14202")]
public class DataBindingCollectionEditor : System.Drawing.Design.UITypeEditor
type DataBindingCollectionEditor = class
    inherit UITypeEditor
[<System.Obsolete("Use of this type is not recommended because DataBindings editing is launched via a DesignerActionList instead of the property grid. http://go.microsoft.com/fwlink/?linkid=14202")>]
type DataBindingCollectionEditor = class
    inherit UITypeEditor
Public Class DataBindingCollectionEditor
Inherits UITypeEditor
继承
DataBindingCollectionEditor
属性

注解

DataBindingCollectionEditor 类已过时。The DataBindingCollectionEditor class is obsolete. 在设计时,可以从而不是属性网格来完成数据绑定的编辑 DesignerActionListAt design time, editing of data bindings is accomplished from a DesignerActionList instead of the property grid. 有关详细信息,请参阅 ActionListsFor more information, see ActionLists.

构造函数

DataBindingCollectionEditor()

初始化 DataBindingCollectionEditor 类的新实例。Initializes a new instance of the DataBindingCollectionEditor class.

属性

IsDropDownResizable

获取一个值,该值指示是否应由用户调整下拉编辑器的大小。Gets a value indicating whether drop-down editors should be resizable by the user.

(继承自 UITypeEditor)

方法

EditValue(IServiceProvider, Object)

使用 GetEditStyle() 方法所指示的编辑器样式编辑指定对象的值。Edits the value of the specified object using the editor style indicated by the GetEditStyle() method.

(继承自 UITypeEditor)
EditValue(ITypeDescriptorContext, IServiceProvider, Object)

使用指定的服务提供程序和上下文编辑指定的数据绑定集合的值。Edits the value of the specified data-binding collection using the specified service provider and context.

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetEditStyle()

获取由 EditValue(IServiceProvider, Object) 方法使用的编辑器样式。Gets the editor style used by the EditValue(IServiceProvider, Object) method.

(继承自 UITypeEditor)
GetEditStyle(ITypeDescriptorContext)

获取由 EditValue(ITypeDescriptorContext, IServiceProvider, Object) 方法使用的编辑器样式。Gets the editor style used by the EditValue(ITypeDescriptorContext, IServiceProvider, Object) method.

GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetPaintValueSupported()

指示该编辑器是否支持绘制对象值的表示形式。Indicates whether this editor supports painting a representation of an object's value.

(继承自 UITypeEditor)
GetPaintValueSupported(ITypeDescriptorContext)

指示指定的上下文是否支持在指定的上下文内绘制对象值的表示形式。Indicates whether the specified context supports painting a representation of an object's value within the specified context.

(继承自 UITypeEditor)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
PaintValue(Object, Graphics, Rectangle)

将指定对象值表示形式绘制到指定的画布上。Paints a representation of the value of the specified object to the specified canvas.

(继承自 UITypeEditor)
PaintValue(PaintValueEventArgs)

使用指定的 PaintValueEventArgs 绘制某个对象的值的表示形式。Paints a representation of the value of an object using the specified PaintValueEventArgs.

(继承自 UITypeEditor)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅