Spread Windows Forms 9.0 Product Documentation
RowSelectorImageDisabled Field
Example 


Specifies the index, 15, for the image for the disabled row selector.
Syntax
'Declaration
 
Public Const RowSelectorImageDisabled As Integer
'Usage
 
Dim value As Integer
 
value = SpreadView.RowSelectorImageDisabled
public const int RowSelectorImageDisabled
Example
This example sets the RowSelectorImageDisabled field.
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);
listBox1.Items.Add(indicator.ToString());
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)
ListBox1.Items.Add(indicator.ToString())
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

SpreadView Class
SpreadView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.