Spread Windows Forms 7.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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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