ControlBodyGlyph Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ControlBodyGlyph class.
Overloads
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. |
ControlBodyGlyph(Rectangle, Cursor, IComponent, Behavior)
Initializes a new instance of the ControlBodyGlyph class.
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)
Parameters
- cursor
- Cursor
A Cursor that represents the cursor to display when the mouse pointer is over the Glyph.
- relatedComponent
- IComponent
The component with which the Glyph is associated.
Applies to
ControlBodyGlyph(Rectangle, Cursor, IComponent, ControlDesigner)
Initializes a new instance of the ControlBodyGlyph class.
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)
Parameters
- cursor
- Cursor
A Cursor that represents the cursor to display when the mouse pointer is over the Glyph.
- relatedComponent
- IComponent
The component with which the Glyph is associated.
- designer
- ControlDesigner
A ControlDesigner with which the Glyph is associated.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈