ControlPaint.DrawImageDisabled(Graphics, Image, Int32, Int32, Color) Méthode

Définition

Dessine l'image spécifiée dans un état désactivé.

public:
 static void DrawImageDisabled(System::Drawing::Graphics ^ graphics, System::Drawing::Image ^ image, int x, int y, System::Drawing::Color background);
public static void DrawImageDisabled (System.Drawing.Graphics graphics, System.Drawing.Image image, int x, int y, System.Drawing.Color background);
static member DrawImageDisabled : System.Drawing.Graphics * System.Drawing.Image * int * int * System.Drawing.Color -> unit
Public Shared Sub DrawImageDisabled (graphics As Graphics, image As Image, x As Integer, y As Integer, background As Color)

Paramètres

graphics
Graphics

Graphics sur lequel dessiner.

image
Image

Image à dessiner.

x
Int32

Coordonnée x du coin supérieur gauche de l'image de bordure.

y
Int32

Coordonnée y du coin supérieur gauche de l'image de bordure.

background
Color

Color de l'arrière-plan de l'image.

Remarques

Le background paramètre est utilisé pour calculer la couleur de remplissage de l’image désactivée afin qu’elle soit toujours visible par rapport à l’arrière-plan.

S’applique à

Voir aussi