Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal style As BackdropStyle, _ ByVal color As Color, _ ByVal color2 As Color, _ ByVal gradient As GradientType, _ ByVal pattern As System.Drawing.Drawing2D.HatchStyle, _ ByVal picture As Image, _ ByVal pictureAlignment As PicturePutStyle, _ ByVal alpha As System.Byte, _ ByVal antiAliasMode As AntiAliasMode, _ ByVal contextMenu As System.Windows.Forms.ContextMenu _ ) |
C# | |
---|---|
public BackdropItem( BackdropStyle style, Color color, Color color2, GradientType gradient, System.Drawing.Drawing2D.HatchStyle pattern, Image picture, PicturePutStyle pictureAlignment, System.byte alpha, AntiAliasMode antiAliasMode, System.Windows.Forms.ContextMenu contextMenu ) |
Parameters
- style
- Specifies the backdrop style.
- color
- Specifies the primary color.
- color2
- Specifies the secondary color (used with hatch and gradient styles).
- gradient
- Specifies the type of gradient used (used with GradientType).
- pattern
- Specifies the hatch pattern (used with HatchStyle).
- picture
- Specifies the image used for the backdrop.
- pictureAlignment
- Specifies the image alignment used.
- alpha
- Specifies the alpha level (transparency) to use.
- antiAliasMode
Specifies the AntiAliasMode to use. Value can be Auto, None, Graphics, Text, or Both.
- contextMenu
- Specifies the shortcut menu associated with the control.