Spread Windows Forms 10.0 Product Documentation
ItemTemplateInfo 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.
An 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.
Initializes a new instance of the ItemTemplateInfo 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 ItemTemplateInfo(indent, image, backColor, foreColor, height, font, gradientEffect)
public ItemTemplateInfo( 
   int indent,
   object image,
   Color backColor,
   Color foreColor,
   int height,
   Font font,
   GradientEffect 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.
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

ItemTemplateInfo Class
ItemTemplateInfo Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.