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


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