ControlBodyGlyph 类

定义

Glyph 与其控件关联。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
继承
ControlBodyGlyph

注解

Glyph 放置在每个控件上,并调整为每个控件的确切边界。The Glyph is placed on every control and is sized to the exact bounds of each control.

构造函数

ControlBodyGlyph(Rectangle, Cursor, IComponent, Behavior)

初始化 ControlBodyGlyph 类的新实例。Initializes a new instance of the ControlBodyGlyph class.

ControlBodyGlyph(Rectangle, Cursor, IComponent, ControlDesigner)

初始化 ControlBodyGlyph 类的新实例。Initializes a new instance of the ControlBodyGlyph class.

属性

Behavior

获取与 Behavior 关联的 GlyphGets the Behavior associated with the Glyph.

(继承自 Glyph)
Bounds

获取 Glyph 的边界。Gets the bounds of the Glyph.

RelatedComponent

获取与该 Glyph 关联的组件。Gets the component that is associated with the Glyph .

(继承自 ComponentGlyph)

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetHitTest(Point)

指示对指定点的鼠标单击是否应由 ControlBodyGlyph 处理。Indicates whether a mouse click at the specified point should be handled by the ControlBodyGlyph.

GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
Paint(PaintEventArgs)

提供绘制逻辑。Provides paint logic.

(继承自 ComponentGlyph)
SetBehavior(Behavior)

更改与 Behavior 关联的 GlyphChanges the Behavior associated with the Glyph.

(继承自 Glyph)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于