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


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ImageFocusIndicatorRenderer Class : TransparencyColor Property
Gets or sets the transparency color of the custom focus indicator.
Syntax
'Declaration
 
Public Property TransparencyColor As Color
'Usage
 
Dim instance As ImageFocusIndicatorRenderer
Dim value As Color
 
instance.TransparencyColor = value
 
value = instance.TransparencyColor
public Color TransparencyColor {get; set;}

Property Value

Color object containing the transparency color
Example
This example uses the TransparencyColor property.
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