System.Drawing.Design 命名空間

System.Drawing.Design 命名空間 (Namespace) 包含擴充設計階段使用者介面 (UI) 邏輯和繪圖的類別。 The System.Drawing.Design namespace contains classes that extend design-time user interface (UI) logic and drawing.

類別

BitmapEditor

提供在屬性瀏覽器中選取點陣圖檔的使用者介面。Provides a user interface for selecting bitmap files in a property browser.

CategoryNameCollection

代表類別名稱字串的集合。Represents a collection of category name strings.

ColorEditor

提供以視覺化方式選取色彩的 UITypeEditorProvides a UITypeEditor for visually picking a color.

ContentAlignmentEditor

提供以視覺化方式編輯內容對齊方式的 UITypeEditorProvides a UITypeEditor for visually editing content alignment.

CursorEditor

提供可以對游標 (.cur) 檔執行預設檔案搜尋的 UITypeEditorProvides a UITypeEditor that can perform default file searching for cursor (.cur) files.

FontEditor

提供使用者介面以選取和設定 Font 物件。Provides a user interface to select and configure a Font object.

FontNameEditor

提供為字型名稱繪製圖像 (Glyph) 的 UITypeEditorProvides a UITypeEditor that paints a glyph for the font name.

IconEditor

提供以視覺化方式選取圖示的 UITypeEditorProvides a UITypeEditor for visually choosing an icon.

ImageEditor

提供可以在屬性方格中選取屬性影像的使用者介面。Provides a user interface for selecting an image for a property in a property grid.

MetafileEditor

提供 UITypeEditor,它可以執行中繼檔 (.emf) 的預設檔案搜尋。Provides a UITypeEditor that can perform default file searching for metafile (.emf) files.

PaintValueEventArgs

提供 PaintValue(Object, Graphics, Rectangle) 方法的資料。Provides data for the PaintValue(Object, Graphics, Rectangle) method.

PropertyValueUIItem

提供 [屬性] 視窗中所顯示屬性的相關資訊,其中包括關聯的事件處理常式、快顯資訊字串和所要顯示的屬性圖示。Provides information about a property displayed in the Properties window, including the associated event handler, pop-up information string, and the icon to display for the property.

ToolboxComponentsCreatedEventArgs

提供元件加入工具箱時發生的 ComponentsCreated 事件的資料。Provides data for the ComponentsCreated event that occurs when components are added to the toolbox.

ToolboxComponentsCreatingEventArgs

提供元件加入工具箱時發生的 ComponentsCreating 事件的資料。Provides data for the ComponentsCreating event that occurs when components are added to the toolbox.

ToolboxItem

提供工具箱項目的基底實作。Provides a base implementation of a toolbox item.

ToolboxItemCollection

表示工具箱項目的集合。Represents a collection of toolbox items.

ToolboxItemContainer

封裝 ToolboxItemEncapsulates a ToolboxItem.

ToolboxItemCreator

封裝 ToolboxItemCreatorCallbackEncapsulates a ToolboxItemCreatorCallback. 這個類別無法被繼承。This class cannot be inherited.

ToolboxService

提供 IToolboxService 介面的預設實作。Provides a default implementation of the IToolboxService interface.

UITypeEditor

提供可用來設計值編輯器的基底類別,這些值編輯器可提供使用者介面 (UI),以表示並編輯所支援資料型別的物件值。Provides a base class that can be used to design value editors that can provide a user interface (UI) for representing and editing the values of objects of the supported data types.

介面

IPropertyValueUIService

為顯示於屬性瀏覽器中的元件屬性提供介面以管理影像、工具提示和事件處理常式。Provides an interface to manage the images, ToolTips, and event handlers for the properties of a component displayed in a property browser.

IToolboxItemProvider

公開工具箱項目的集合。Exposes a collection of toolbox items.

IToolboxService

提供方法和屬性來管理並查詢開發環境中的工具箱。Provides methods and properties to manage and query the toolbox in the development environment.

IToolboxUser

定義介面,用來設定目前選取的工具箱項目並指示設計工具是否支援特定的工具箱項目。Defines an interface for setting the currently selected toolbox item and indicating whether a designer supports a particular toolbox item.

列舉

UITypeEditorEditStyle

指定識別項,指出 UITypeEditor 的值編輯樣式。Specifies identifiers that indicate the value editing style of a UITypeEditor.

委派

PropertyValueUIHandler

表示將委派 (Delegate) 加入 IPropertyValueUIService 實作 (Implementation) 的方法。Represents the method that adds a delegate to an implementation of IPropertyValueUIService.

PropertyValueUIItemInvokeHandler

代表將處理 InvokeHandlerPropertyValueUIItem 事件的方法。Represents the method that will handle the InvokeHandler event of a PropertyValueUIItem.

ToolboxComponentsCreatedEventHandler

代表處理 ComponentsCreated 事件的方法。Represents the method that handles the ComponentsCreated event.

ToolboxComponentsCreatingEventHandler

代表處理 ComponentsCreating 事件的方法。Represents the method that handles the ComponentsCreating event.

ToolboxItemCreatorCallback

提供可以建立 ToolboxItem 的回呼 (Callback) 機制。Provides a callback mechanism that can create a ToolboxItem.

備註

此命名空間中的類別可用來建立自訂工具箱項目,特定類型的值編輯器可以編輯,並以圖形表示支援的類型,以及將某些型別之間的值可以轉換的型別轉換子的值。The classes in this namespace can be used to create custom toolbox items, type-specific value editors that can edit and graphically represent values of their supported types, and type converters that can convert values between certain types. 此命名空間提供的基本架構開發的設計階段 ui 的延伸模組。This namespace provides the basic frameworks for developing extensions to the design-time UI.

警告

類別內System.Drawing.Design命名空間不支援在 Windows 或 ASP.NET 服務中使用。Classes within the System.Drawing.Design namespace are not supported for use within a Windows or ASP.NET service. 嘗試使用這些類別內其中一個應用程式類型可能會產生非預期的問題,例如會受到影響服務效能和執行階段例外狀況。Attempting to use these classes from within one of these application types may produce unexpected problems, such as diminished service performance and run-time exceptions.