ObjectSelectorEditor 类

定义

实现可用于设计值编辑器的基本功能。 这些编辑器反过来可以提供一个用户界面,用于表示和编辑受支持数据类型的对象的值。

public ref class ObjectSelectorEditor abstract : System::Drawing::Design::UITypeEditor
public abstract class ObjectSelectorEditor : System.Drawing.Design.UITypeEditor
type ObjectSelectorEditor = class
    inherit UITypeEditor
Public MustInherit Class ObjectSelectorEditor
Inherits UITypeEditor
继承
ObjectSelectorEditor

构造函数

名称 说明
ObjectSelectorEditor()

初始化 ObjectSelectorEditor 类的新实例。

ObjectSelectorEditor(Boolean)

初始化 ObjectSelectorEditor 类的新实例。

字段

名称 说明
currValue

表示的当前值 ObjectSelectorEditor

prevValue

表示上一个值 ObjectSelectorEditor

SubObjectSelector

控制是否可以访问已标记项的分层集合中的节点。

属性

名称 说明
IsDropDownResizable

获取一个值,该值指示用户是否应调整下拉列表编辑器的大小。

(继承自 UITypeEditor)

方法

名称 说明
ApplyTreeViewThemeStyles(TreeView)

修改 Windows 窗体 TreeView 控件以使用新的资源管理器样式主题。

EditValue(IServiceProvider, Object)

使用方法指示 GetEditStyle() 的编辑器样式编辑指定对象的值。

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

使用由 GetEditStyle.. 指示的编辑器样式编辑指定对象的值。

Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
EqualsToValue(Object)

确定指定的 Object 值是否等于当前 Object

FillTreeWithData(ObjectSelectorEditor+Selector, ITypeDescriptorContext, IServiceProvider)

用每个项表示 TreeNode的标记项填充分层集合。

GetEditStyle()

获取方法使用的 EditValue(IServiceProvider, Object) 编辑器样式。

(继承自 UITypeEditor)
GetEditStyle(ITypeDescriptorContext)

获取方法使用的 EditValue 编辑器样式。

GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetPaintValueSupported()

指示此编辑器是否支持绘制对象的值的表示形式。

(继承自 UITypeEditor)
GetPaintValueSupported(ITypeDescriptorContext)

指示指定上下文是否支持在指定上下文中绘制对象的值的表示形式。

(继承自 UITypeEditor)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

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

将指定对象的值的表示形式绘制到指定的画布。

(继承自 UITypeEditor)
PaintValue(PaintValueEventArgs)

使用指定的 PaintValueEventArgs对象值绘制表示形式。

(继承自 UITypeEditor)
SetValue(Object)

将当前 ObjectSelectorEditor 值设置为指定值。

ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于