共用方式為


ComponentGlyph 類別

定義

將 a Glyph 與其組件關聯起來。

public ref class ComponentGlyph : System::Windows::Forms::Design::Behavior::Glyph
public class ComponentGlyph : System.Windows.Forms.Design.Behavior.Glyph
type ComponentGlyph = class
    inherit Glyph
Public Class ComponentGlyph
Inherits Glyph
繼承
ComponentGlyph
衍生

備註

ComponentGlyph 類別包含該 RelatedComponent 屬性,指向字形相關的元件。 此特性可用於追蹤 Glyph 物件至其組件,例如拖曳操作期間。

建構函式

名稱 Description
ComponentGlyph(IComponent, Behavior)

初始化 ComponentGlyph 類別的新執行個體。

ComponentGlyph(IComponent)

初始化 ComponentGlyph 類別的新執行個體。

屬性

名稱 Description
Behavior

得到 BehaviorGlyph相關聯的 。

(繼承來源 Glyph)
Bounds

得到 的界限 Glyph

(繼承來源 Glyph)
RelatedComponent

取得與 Glyph 相關聯的元件。

方法

名稱 Description
Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetHitTest(Point)

表示在指定點點的滑鼠點擊是否應由 ComponentGlyph

GetType()

取得目前實例的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
Paint(PaintEventArgs)

提供繪畫邏輯。

SetBehavior(Behavior)

改變與 BehaviorGlyph相關聯的 。

(繼承來源 Glyph)
ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於

另請參閱