ActivityDesignerPaint.Draw3DButton 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在活動設計器表面繪製一個三維按鈕。
public:
static void Draw3DButton(System::Drawing::Graphics ^ graphics, System::Drawing::Image ^ image, System::Drawing::Rectangle bounds, float transparency, System::Windows::Forms::ButtonState buttonState);
public static void Draw3DButton(System.Drawing.Graphics graphics, System.Drawing.Image image, System.Drawing.Rectangle bounds, float transparency, System.Windows.Forms.ButtonState buttonState);
static member Draw3DButton : System.Drawing.Graphics * System.Drawing.Image * System.Drawing.Rectangle * single * System.Windows.Forms.ButtonState -> unit
Public Shared Sub Draw3DButton (graphics As Graphics, image As Image, bounds As Rectangle, transparency As Single, buttonState As ButtonState)
參數
- transparency
- Single
單精度浮點數用來指定按鈕的透明度等級。
- buttonState
- ButtonState
ButtonState用列舉值來指定按鈕的外觀。
例外狀況
graphics 包含一個空參考(Nothing 在 Visual Basic 中)。