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
參數
傳回
a Rectangle 的邊界Control轉換到 Adorner 視窗座標。
備註
裝飾窗是一扇透明窗,位於設計師的框架上方。 此視窗被用 BehaviorService 來攔截所有訊息。 它同時也是一塊統一的畫布,用來繪製一個 Glyph。