Spread Windows Forms 6.0 Product Documentation
ImageFocusIndicatorRenderer Constructor
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ImageFocusIndicatorRenderer Class : ImageFocusIndicatorRenderer Constructor


Glossary Item Box

Overload List

OverloadDescription
ImageFocusIndicatorRenderer Constructor()Creates a new renderer of the image focus indicator.  
ImageFocusIndicatorRenderer Constructor(Image,Color)Creates a new renderer of the image focus indicator.  

Remarks

When the image is drawn, the transparent color is not rendered.

Example

This example provides a custom focus indicator for the cells.
C#Copy Code
FarPoint.Win.Spread.ImageFocusIndicatorRenderer ifir = new FarPoint.Win.Spread.ImageFocusIndicatorRenderer(Image.FromFile("D:\\alphaomega3.jpg"),Color.White);
fpSpread1.FocusRenderer = ifir;
Visual BasicCopy Code
Dim ifir As New FarPoint.Win.Spread.ImageFocusIndicatorRenderer(Image.FromFile("D:\alphaomega3.jpg"), Color.White)
FpSpread1.FocusRenderer = ifir

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.