BehaviorService.ControlRectInAdornerWindow(Control) 方法

定義

傳回 Rectangle 的週框 Control

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

傳回

轉譯成裝飾項 (Adorner) 視窗座標之 RectangleControl 週框。

備註

裝飾項視窗是位於設計工具框架上方的透明視窗。 此視窗由 BehaviorService 用來攔截所有訊息。 它也做為要繪製 Glyph 的統一畫布。

適用於

另請參閱