Spread Windows Forms 11.0 Product Documentation
Image Property (ImageFocusIndicatorRenderer)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ImageFocusIndicatorRenderer Class : Image Property
Gets or sets the image to use for rendering the custom focus indicator.
Syntax
'Declaration
 
Public Property Image As Image
'Usage
 
Dim instance As ImageFocusIndicatorRenderer
Dim value As Image
 
instance.Image = value
 
value = instance.Image
public Image Image {get; set;}

Property Value

Image object containing the image
Example
This example creates a focus renderer.
FarPoint.Win.Spread.ImageFocusIndicatorRenderer ifir = new FarPoint.Win.Spread.ImageFocusIndicatorRenderer();
ifir.Image = Image.FromFile("C:\\logo.png");
ifir.TransparencyColor = Color.White;
fpSpread1.FocusRenderer = ifir;
Dim ifir As New FarPoint.Win.Spread.ImageFocusIndicatorRenderer()
ifir.Image = Image.FromFile("C:\logo.png")
ifir.TransparencyColor = Color.White
fpSpread1.FocusRenderer = ifir
See Also

Reference

ImageFocusIndicatorRenderer Class
ImageFocusIndicatorRenderer Members