BehaviorService.ControlRectInAdornerWindow(Control) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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
参数
返回
转换为装饰器窗口坐标的边界RectangleControl。
注解
装饰器窗口是位于设计器框架顶部的透明窗口。 此窗口用于 BehaviorService 截获所有消息。 它还充当一个统一的画布,在其上绘制一个 Glyph。