ComponentGlyph Class

 

Associates a Glyph with its component.

Namespace:   System.Windows.Forms.Design.Behavior
Assembly:  System.Design (in System.Design.dll)

System.Object
  System.Windows.Forms.Design.Behavior.Glyph
    System.Windows.Forms.Design.Behavior.ComponentGlyph
      System.Windows.Forms.Design.Behavior.ControlBodyGlyph

type ComponentGlyph = 
    class
        inherit Glyph
    end

NameDescription
System_CAPS_pubmethodComponentGlyph(IComponent)

Initializes a new instance of the ComponentGlyph class.

System_CAPS_pubmethodComponentGlyph(IComponent, Behavior)

Initializes a new instance of the ComponentGlyph class.

NameDescription
System_CAPS_pubpropertyBehavior

Gets the Behavior associated with the Glyph.(Inherited from Glyph.)

System_CAPS_pubpropertyBounds

Gets the bounds of the Glyph.(Inherited from Glyph.)

System_CAPS_pubpropertyRelatedComponent

Gets the component that is associated with the Glyph .

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetHitTest(Point)

Indicates whether a mouse click at the specified point should be handled by the ComponentGlyph.(Overrides Glyph.GetHitTest(Point).)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodPaint(PaintEventArgs)

Provides paint logic.(Overrides Glyph.Paint(PaintEventArgs).)

System_CAPS_protmethodSetBehavior(Behavior)

Changes the Behavior associated with the Glyph.(Inherited from Glyph.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The ComponentGlyph class contains the RelatedComponent property, which points back to the glyph's related component. This property can be used to trace Glyph objects back to their component, such as during drag operations.

.NET Framework
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: