Initializes a new instance of the
ItemTemplateInfo class with values.
Syntax
'Declaration
Public Function New( _
ByVal As Integer, _
ByVal As Object, _
ByVal As Color, _
ByVal As Color, _
ByVal As Integer, _
ByVal As Font, _
ByVal As GradientEffect _
)
'Usage
Dim indent As Integer
Dim image As Object
Dim backColor As Color
Dim foreColor As Color
Dim height As Integer
Dim font As Font
Dim gradientEffect As GradientEffect
Dim instance As New ItemTemplateInfo(indent, image, backColor, foreColor, height, font, gradientEffect)
public ItemTemplateInfo(
int ,
object ,
Color ,
Color ,
int ,
Font ,
GradientEffect
)
Parameters
- indent
- An System.Int32 value that represents the indent of the ListItem.
- image
- An object value that represents the ListItem.Image of the ListItem.
- backColor
- A System.Drawing.Color value that represents the ListItem.BackColor of the ListItem.
- foreColor
- A System.Drawing.Color value that represents the ListItem.ForeColor of the ListItem.
- height
- An System.Int32 value that represents the ListItem.Height of ListItem.
- font
- A Font value that represents the ListItem.Font of ListItem.
- gradientEffect
- A GradientEffect that represents the ListItem.GradientEffect of the ListItem.
See Also