Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / ItemTemplate Class / ItemTemplate Constructor / ItemTemplate Constructor(Int32,Object,Color,Color,Int32,Font,GradientEffect)
An System.Int32 value that represents the indent of the ListItem.
An object value that represents the ListItem.Image of the ListItem.
A System.Drawing.Color value that represents the ListItem.BackColor of the ListItem.
A System.Drawing.Color value that represents the ListItem.ForeColor of the ListItem.
A System.Int32 value that represents the ListItem.Height of ListItem.
A Font value that represents the ListItem.Font of ListItem.
A GradientEffect that represents the ListItem.GradientEffect of the ListItem.


In This Topic
    ItemTemplate Constructor(Int32,Object,Color,Color,Int32,Font,GradientEffect)
    In This Topic
    Initializes a new instance of the ItemTemplate class with values.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal indent As Integer, _
       ByVal image As Object, _
       ByVal backColor As Color, _
       ByVal foreColor As Color, _
       ByVal height As Integer, _
       ByVal font As Font, _
       ByVal gradientEffect 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 ItemTemplate(indent, image, backColor, foreColor, height, 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
    A 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