ControlBodyGlyph 构造函数

定义

初始化 ControlBodyGlyph 类的新实例。

重载

ControlBodyGlyph(Rectangle, Cursor, IComponent, Behavior)

初始化 ControlBodyGlyph 类的新实例。

ControlBodyGlyph(Rectangle, Cursor, IComponent, ControlDesigner)

初始化 ControlBodyGlyph 类的新实例。

ControlBodyGlyph(Rectangle, Cursor, IComponent, Behavior)

初始化 ControlBodyGlyph 类的新实例。

public:
 ControlBodyGlyph(System::Drawing::Rectangle bounds, System::Windows::Forms::Cursor ^ cursor, System::ComponentModel::IComponent ^ relatedComponent, System::Windows::Forms::Design::Behavior::Behavior ^ behavior);
public ControlBodyGlyph (System.Drawing.Rectangle bounds, System.Windows.Forms.Cursor cursor, System.ComponentModel.IComponent relatedComponent, System.Windows.Forms.Design.Behavior.Behavior behavior);
public ControlBodyGlyph (System.Drawing.Rectangle bounds, System.Windows.Forms.Cursor? cursor, System.ComponentModel.IComponent? relatedComponent, System.Windows.Forms.Design.Behavior.Behavior? behavior);
new System.Windows.Forms.Design.Behavior.ControlBodyGlyph : System.Drawing.Rectangle * System.Windows.Forms.Cursor * System.ComponentModel.IComponent * System.Windows.Forms.Design.Behavior.Behavior -> System.Windows.Forms.Design.Behavior.ControlBodyGlyph
Public Sub New (bounds As Rectangle, cursor As Cursor, relatedComponent As IComponent, behavior As Behavior)

参数

bounds
Rectangle

表示 Rectangle 的边界的 Glyph

cursor
Cursor

一个 Cursor,表示当鼠标指针位于 Glyph 上时显示的光标。

relatedComponent
IComponent

Glyph 相关联的组件。

behavior
Behavior

Glyph 相关联的 Behavior

适用于

ControlBodyGlyph(Rectangle, Cursor, IComponent, ControlDesigner)

初始化 ControlBodyGlyph 类的新实例。

public:
 ControlBodyGlyph(System::Drawing::Rectangle bounds, System::Windows::Forms::Cursor ^ cursor, System::ComponentModel::IComponent ^ relatedComponent, System::Windows::Forms::Design::ControlDesigner ^ designer);
public ControlBodyGlyph (System.Drawing.Rectangle bounds, System.Windows.Forms.Cursor cursor, System.ComponentModel.IComponent relatedComponent, System.Windows.Forms.Design.ControlDesigner designer);
public ControlBodyGlyph (System.Drawing.Rectangle bounds, System.Windows.Forms.Cursor? cursor, System.ComponentModel.IComponent? relatedComponent, System.Windows.Forms.Design.ControlDesigner? designer);
new System.Windows.Forms.Design.Behavior.ControlBodyGlyph : System.Drawing.Rectangle * System.Windows.Forms.Cursor * System.ComponentModel.IComponent * System.Windows.Forms.Design.ControlDesigner -> System.Windows.Forms.Design.Behavior.ControlBodyGlyph
Public Sub New (bounds As Rectangle, cursor As Cursor, relatedComponent As IComponent, designer As ControlDesigner)

参数

bounds
Rectangle

表示 Rectangle 的边界的 Glyph

cursor
Cursor

一个 Cursor,表示当鼠标指针位于 Glyph 上时显示的光标。

relatedComponent
IComponent

Glyph 相关联的组件。

designer
ControlDesigner

ControlDesigner 相关联的 Glyph

适用于