FontEditor 클래스

정의

중요

이 API는 CLS 규격이 아닙니다.

Font 개체를 선택하고 구성하기 위한 사용자 인터페이스를 제공합니다.

public ref class FontEditor : System::Drawing::Design::UITypeEditor
public class FontEditor : System.Drawing.Design.UITypeEditor
[System.Security.SecurityCritical]
public class FontEditor : System.Drawing.Design.UITypeEditor
[System.CLSCompliant(false)]
public class FontEditor : System.Drawing.Design.UITypeEditor
type FontEditor = class
    inherit UITypeEditor
[<System.Security.SecurityCritical>]
type FontEditor = class
    inherit UITypeEditor
[<System.CLSCompliant(false)>]
type FontEditor = class
    inherit UITypeEditor
Public Class FontEditor
Inherits UITypeEditor
상속
FontEditor
특성

예제

다음 코드 예제를 사용 하 여 EditorAttribute 연결 FontEditor 하는 속성입니다.

public:
   [EditorAttribute(System::ComponentModel::Design::CollectionEditor::typeid,
      System::Drawing::Design::UITypeEditor::typeid)]
   property System::Drawing::Font^ testFont 
   {
      System::Drawing::Font^ get()
      {
         return font;
      }
      void set( System::Drawing::Font^ value )
      {
         font = value;
      }
   }
private:
   Font^ font;
[EditorAttribute(typeof(System.Drawing.Design.FontEditor), typeof(System.Drawing.Design.UITypeEditor))]
public Font testFont
{
    get
    {
        return font;
    }
    set
    {
        font = value;
    }
}
private Font font;
<EditorAttribute(GetType(System.Drawing.Design.FontEditor), GetType(System.Drawing.Design.UITypeEditor))>  _
Public Property testFont() As Font
   Get
      Return font
   End Get
   Set
      font = value
   End Set
End Property
Private font As Font

설명

FontEditorUITypeEditor 사용 가능한 글꼴 목록에서 을 Font 선택하고 구성하기 위한 사용자 인터페이스를 제공하는 입니다.

생성자

FontEditor()

FontEditor 클래스의 새 인스턴스를 초기화합니다.

속성

IsDropDownResizable

드롭다운 편집기를 사용자가 크기 조정할 수 있는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 UITypeEditor)

메서드

EditValue(IServiceProvider, Object)

GetEditStyle() 메서드에 표시된 편집기 스타일을 사용하여 지정된 개체의 값을 편집합니다.

(다음에서 상속됨 UITypeEditor)
EditValue(ITypeDescriptorContext, IServiceProvider, Object)

GetEditStyle(ITypeDescriptorContext)로 표시된 편집기 스타일을 사용하여 지정된 개체의 값을 편집합니다.

Equals(Object)

지정된 개체가 현재 개체와 같은지 확인합니다.

(다음에서 상속됨 Object)
GetEditStyle()

EditValue(IServiceProvider, Object) 메서드에서 사용하는 편집기 스타일을 가져옵니다.

(다음에서 상속됨 UITypeEditor)
GetEditStyle(ITypeDescriptorContext)

EditValue(ITypeDescriptorContext, IServiceProvider, Object) 메서드에서 사용하는 편집기 스타일을 가져옵니다.

GetHashCode()

기본 해시 함수로 작동합니다.

(다음에서 상속됨 Object)
GetPaintValueSupported()

이 편집기에서 개체 값 표현를 칠할 수 있는지 여부를 나타냅니다.

(다음에서 상속됨 UITypeEditor)
GetPaintValueSupported(ITypeDescriptorContext)

지정된 컨텍스트에서 지정된 컨텍스트 내의 개체 값 표현를 칠할 수 있는지 여부를 나타냅니다.

(다음에서 상속됨 UITypeEditor)
GetType()

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
PaintValue(Object, Graphics, Rectangle)

지정된 개체의 값 표시를 지정된 캔버스에 칠합니다.

(다음에서 상속됨 UITypeEditor)
PaintValue(PaintValueEventArgs)

지정된 PaintValueEventArgs를 사용하여 개체 값 표현를 칠합니다.

(다음에서 상속됨 UITypeEditor)
ToString()

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

적용 대상

추가 정보