語言

BehaviorService.ControlRectInAdornerWindow(Control) 方法

定義

返回 的界定RectangleControl。

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

傳回

a Rectangle 的邊界Control轉換到 Adorner 視窗座標。

備註

裝飾窗是一扇透明窗,位於設計師的框架上方。 此視窗被用 BehaviorService 來攔截所有訊息。 它同時也是一塊統一的畫布,用來繪製一個 Glyph。

適用於

另請參閱