Spread Windows Forms 12.0 Product Documentation
PatternColorIndex Property


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > IInterior Interface : PatternColorIndex Property
Gets or sets the color of the interior pattern as an index into the current color palette, or as one of the following constants: Color.ColorIndexAutomatic or Color.ColorIndexNone.
Syntax
'Declaration
 
Property PatternColorIndex As Integer
'Usage
 
Dim instance As IInterior
Dim value As Integer
 
instance.PatternColorIndex = value
 
value = instance.PatternColorIndex
int PatternColorIndex {get; set;}

Property Value

An integer value represents the index of the pattern color.
Remarks
The value returned by PatternColorIndex is different than the stored value from the internal storage.

Set this property to Color.ColorIndexAutomatic to specify the automatic pattern for cells or the automatic fill style for drawing objects.

Set this property to Color.ColorIndexNone to specify that you don't want a pattern.

See Also

Reference

IInterior Interface
IInterior Members