ControlBodyGlyph 类

定义

将 a Glyph 与其控件相关联。

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 每个控件上,大小设置为每个控件的确切边界。

构造函数

名称 说明
ControlBodyGlyph(Rectangle, Cursor, IComponent, Behavior)

初始化 ControlBodyGlyph 类的新实例。

ControlBodyGlyph(Rectangle, Cursor, IComponent, ControlDesigner)

初始化 ControlBodyGlyph 类的新实例。

属性

名称 说明
Behavior

获取与 Behavior . Glyph.

(继承自 Glyph)
Bounds

获取 . 的 Glyph边界。

RelatedComponent

获取与 . Glyph . 关联的组件。

(继承自 ComponentGlyph)

方法

名称 说明
Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetHitTest(Point)

指示是否应由指定点处的鼠标单击进行处理 ControlBodyGlyph

GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
Paint(PaintEventArgs)

提供绘制逻辑。

(继承自 ComponentGlyph)
SetBehavior(Behavior)

更改 Behavior 与 . Glyph.

(继承自 Glyph)
ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于