Overload | Description |
---|---|
ImageFocusIndicatorRenderer Constructor() | Creates a new renderer of the image focus indicator. |
ImageFocusIndicatorRenderer Constructor(Image,Color) | Creates a new renderer of the image focus indicator. |
When the image is drawn, the transparent color is not rendered.
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 Basic | Copy Code |
---|---|
Dim ifir As New FarPoint.Win.Spread.ImageFocusIndicatorRenderer(Image.FromFile("D:\alphaomega3.jpg"), Color.White) FpSpread1.FocusRenderer = ifir |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8