ControlBodyGlyph Class

ControlBodyGlyph Class

 

Associates a Glyph with its control.

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

public class ControlBodyGlyph : ComponentGlyph

NameDescription
System_CAPS_pubmethodControlBodyGlyph(Rectangle, Cursor, IComponent, Behavior)

Initializes a new instance of the ControlBodyGlyph class.

System_CAPS_pubmethodControlBodyGlyph(Rectangle, Cursor, IComponent, ControlDesigner)

Initializes a new instance of the ControlBodyGlyph class.

NameDescription
System_CAPS_pubpropertyBehavior

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

System_CAPS_pubpropertyBounds

Gets the bounds of the Glyph.(Overrides Glyph.Bounds.)

System_CAPS_pubpropertyRelatedComponent

Gets the component that is associated with the Glyph .(Inherited from ComponentGlyph.)

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 ControlBodyGlyph.(Overrides ComponentGlyph.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.(Inherited from ComponentGlyph.)

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 Glyph is placed on every control and is sized to the exact bounds of each control.

.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:
© 2016 Microsoft