Düzenle

Aracılığıyla paylaş


ControlBodyGlyph Class

Definition

Associates a Glyph with its control.

public ref class ControlBodyGlyph : System::Windows::Forms::Design::Behavior::ComponentGlyph
public class ControlBodyGlyph : System.Windows.Forms.Design.Behavior.ComponentGlyph
type ControlBodyGlyph = class
    inherit ComponentGlyph
Public Class ControlBodyGlyph
Inherits ComponentGlyph
Inheritance
ControlBodyGlyph

Remarks

The Glyph is placed on every control and is sized to the exact bounds of each control.

Constructors

ControlBodyGlyph(Rectangle, Cursor, IComponent, Behavior)

Initializes a new instance of the ControlBodyGlyph class.

ControlBodyGlyph(Rectangle, Cursor, IComponent, ControlDesigner)

Initializes a new instance of the ControlBodyGlyph class.

Properties

Behavior

Gets the Behavior associated with the Glyph.

(Inherited from Glyph)
Bounds

Gets the bounds of the Glyph.

RelatedComponent

Gets the component that is associated with the Glyph .

(Inherited from ComponentGlyph)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetHitTest(Point)

Indicates whether a mouse click at the specified point should be handled by the ControlBodyGlyph.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Paint(PaintEventArgs)

Provides paint logic.

(Inherited from ComponentGlyph)
SetBehavior(Behavior)

Changes the Behavior associated with the Glyph.

(Inherited from Glyph)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to