ControlBodyGlyph 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将 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
- 继承
注解
放置在 Glyph 每个控件上,大小设置为每个控件的确切边界。
构造函数
| 名称 | 说明 |
|---|---|
| ControlBodyGlyph(Rectangle, Cursor, IComponent, Behavior) |
初始化 ControlBodyGlyph 类的新实例。 |
| ControlBodyGlyph(Rectangle, Cursor, IComponent, ControlDesigner) |
初始化 ControlBodyGlyph 类的新实例。 |
属性
| 名称 | 说明 |
|---|---|
| Behavior | (继承自 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) | (继承自 Glyph) |
| ToString() |
返回一个表示当前对象的字符串。 (继承自 Object) |