Compartilhar via


ActivityDesignerPaint.Draw3DButton Método

Definição

Desenha um botão tridimensional na superfície do designer de atividade.

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)

Parâmetros

graphics
Graphics

O Graphics no qual desenhar o botão tridimensional.

image
Image

O Image a ser desenhado no botão.

bounds
Rectangle

O Rectangle que define os limites do botão.

transparency
Single

O número de ponto flutuante de precisão simples para especificar o nível de transparência do botão.

buttonState
ButtonState

O valor de enumeração ButtonState para especificar a aparência do botão.

Exceções

graphics contém uma referência nula (Nothing no Visual Basic).

Aplica-se a