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


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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

ImageFocusIndicatorRenderer Class
ImageFocusIndicatorRenderer Members

 

 


Copyright © GrapeCity, inc. All rights reserved.