DockEditor 类

定义

重要

此 API 不符合 CLS。

提供用于指定属性的 Dock 用户界面。

public ref class DockEditor sealed : System::Drawing::Design::UITypeEditor
public sealed class DockEditor : System.Drawing.Design.UITypeEditor
[System.CLSCompliant(false)]
public sealed class DockEditor : System.Drawing.Design.UITypeEditor
type DockEditor = class
    inherit UITypeEditor
[<System.CLSCompliant(false)>]
type DockEditor = class
    inherit UITypeEditor
Public NotInheritable Class DockEditor
Inherits UITypeEditor
继承
DockEditor
属性

构造函数

名称 说明
DockEditor()

初始化 DockEditor 类的新实例。

属性

名称 说明
IsDropDownResizable

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

(继承自 UITypeEditor)

方法

名称 说明
EditValue(IServiceProvider, Object)

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

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

使用 GetEditorStyle 提供的编辑器样式编辑指定的对象值。 提供服务提供商,以便获取任何所需的编辑服务。

Equals(Object)

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

(继承自 Object)
GetEditStyle()

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

(继承自 UITypeEditor)
GetEditStyle(ITypeDescriptorContext)

检索 EditValue 方法的编辑样式。 如果不支持该方法,则返回 None。

GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetPaintValueSupported()

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

(继承自 UITypeEditor)
GetPaintValueSupported(ITypeDescriptorContext)

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

(继承自 UITypeEditor)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

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

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

(继承自 UITypeEditor)
PaintValue(PaintValueEventArgs)

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

(继承自 UITypeEditor)
ToString()

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

(继承自 Object)

适用于