ActivityDesignerPaint.Draw3DButton Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Ritar en tredimensionell knapp på aktivitetsdesignerns yta.
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)
Parametrar
- transparency
- Single
Flyttalsnumret med enkel precision för att ange knappens transparensnivå.
- buttonState
- ButtonState
Uppräkningsvärdet ButtonState för att ange knappens utseende.
Undantag
graphics innehåller en nullreferens (Nothing i Visual Basic).