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 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