FontNameEditor 类

定义

提供为字体名称绘制字形的标志 UITypeEditor 符号。

public ref class FontNameEditor : System::Drawing::Design::UITypeEditor
public class FontNameEditor : System.Drawing.Design.UITypeEditor
[System.Security.SecurityCritical]
public class FontNameEditor : System.Drawing.Design.UITypeEditor
type FontNameEditor = class
    inherit UITypeEditor
[<System.Security.SecurityCritical>]
type FontNameEditor = class
    inherit UITypeEditor
Public Class FontNameEditor
Inherits UITypeEditor
继承
FontNameEditor
属性

构造函数

名称 说明
FontNameEditor()

初始化 FontNameEditor 类的新实例。

属性

名称 说明
IsDropDownResizable

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

(继承自 UITypeEditor)

方法

名称 说明
EditValue(IServiceProvider, Object)

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

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

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

(继承自 UITypeEditor)
Equals(Object)

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

(继承自 Object)
GetEditStyle()

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

(继承自 UITypeEditor)
GetEditStyle(ITypeDescriptorContext)

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

(继承自 UITypeEditor)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetPaintValueSupported()

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

(继承自 UITypeEditor)
GetPaintValueSupported(ITypeDescriptorContext)

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

GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

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

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

(继承自 UITypeEditor)
PaintValue(PaintValueEventArgs)

将给定对象的代表性值绘制到提供的画布上。 应在提供的矩形的边界内完成绘制。

ToString()

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

(继承自 Object)

适用于