Spread Windows Forms 6.0 Product Documentation
RowSelectorImageDisabled Field
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SpreadView Class : RowSelectorImageDisabled Field

Glossary Item Box

Specifies the index, 15, for the image for the disabled row selector.


Visual Basic (Declaration) 
Public Const RowSelectorImageDisabled As Integer
Visual Basic (Usage)Copy Code
Dim value As Integer
value = SpreadView.RowSelectorImageDisabled
public const int RowSelectorImageDisabled


This example sets the RowSelectorImageDisabled field.
C#Copy Code
fpSpread1.Sheets[0].ShowRowSelector = true;
FarPoint.Win.Spread.SpreadView wrkbk = fpSpread1.GetRootWorkbook();
wrkbk.SetImage(FarPoint.Win.Spread.SpreadView.RowSelectorImageDisabled, Image.FromFile("c:\\2.jpg"));
wrkbk.SetImage(FarPoint.Win.Spread.SpreadView.RowSelectorImage, Image.FromFile("c:\\1.jpg"));
Image indicator;
indicator = wrkbk.GetImage(14);
Visual BasicCopy Code
FpSpread1.Sheets(0).ShowRowSelector = True
Dim wrkbk As FarPoint.Win.Spread.SpreadView = FpSpread1.GetRootWorkbook()
wrkbk.SetImage(FarPoint.Win.Spread.SpreadView.RowSelectorImageDisabled, Image.FromFile("c:\2.jpg"))
wrkbk.SetImage(FarPoint.Win.Spread.SpreadView.RowSelectorImage, Image.FromFile("C:\icon1.ico"))
Dim indicator As Image
indicator = wrkbk.GetImage(14)


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

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.