GrapeCity.Xaml.SpreadSheet.Data
SelectionBackground Property
Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace > Worksheet Class : SelectionBackground Property
Gets or sets a Brush object for the selection style.
Syntax
'Declaration
 
Public Property SelectionBackground As Brush
'Usage
 
Dim instance As Worksheet
Dim value As Brush
 
instance.SelectionBackground = value
 
value = instance.SelectionBackground
public Brush SelectionBackground {get; set;}

Property Value

The Brush object for this sheet.
Example
This example sets the SelectionBackground property.
gcSpreadSheet1.Sheets[0].SelectionBackground = new SolidColorBrush(Windows.UI.Colors.Magenta);
gcSpreadSheet1.Sheets[0].SelectionBorderColor = Windows.UI.Color.FromArgb(150, 10, 100, 99);
GcSpreadSheet1.Sheets(0).SelectionBackground = New SolidColorBrush(Windows.UI.Colors.Magenta)
GcSpreadSheet1.Sheets(0).SelectionBorderColor = Windows.UI.Color.FromArgb(150, 10, 100, 99)
See Also

Reference

Worksheet Class
Worksheet Members