通过


BehaviorService.ControlRectInAdornerWindow(Control) 方法

定义

返回一个 Control. 的边界Rectangle

public:
 System::Drawing::Rectangle ControlRectInAdornerWindow(System::Windows::Forms::Control ^ c);
public System.Drawing.Rectangle ControlRectInAdornerWindow(System.Windows.Forms.Control c);
member this.ControlRectInAdornerWindow : System.Windows.Forms.Control -> System.Drawing.Rectangle
Public Function ControlRectInAdornerWindow (c As Control) As Rectangle

参数

c
Control

Control 翻译的。

返回

转换为装饰器窗口坐标的边界RectangleControl

注解

装饰器窗口是位于设计器框架顶部的透明窗口。 此窗口用于 BehaviorService 截获所有消息。 它还充当一个统一的画布,在其上绘制一个 Glyph

适用于

另请参阅