GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class : SelectionBackground Property |
'Declaration Public Property SelectionBackground As System.Windows.Media.Brush
'Usage Dim instance As Worksheet Dim value As System.Windows.Media.Brush instance.SelectionBackground = value value = instance.SelectionBackground
public System.Windows.Media.Brush SelectionBackground {get; set;}
gcSpreadSheet1.Sheets[0].SelectionBackground = new SolidColorBrush(Colors.Magenta);
gcSpreadSheet1.Sheets[0].SelectionBorderColor = Color.FromArgb(150, 10, 100, 99);
gcSpreadSheet1.Invalidate();
GcSpreadSheet1.Sheets(0).SelectionBackground = New SolidColorBrush(Colors.Magenta)
GcSpreadSheet1.Sheets(0).SelectionBorderColor = Color.FromArgb(150, 10, 100, 99)
GcSpreadSheet1.Invalidate()
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6