Spread WPF Documentation
GrapeCity.Windows.SpreadSheet.Data Namespace / Worksheet Class / SelectionBorderColor Property
Example


In This Topic
    SelectionBorderColor Property
    In This Topic
    Gets or sets a Color object for the selection style.
    Syntax
    'Declaration
     
    Public Property SelectionBorderColor As Nullable(Of Color)
    'Usage
     
    Dim instance As Worksheet
    Dim value As Nullable(Of Color)
     
    instance.SelectionBorderColor = value
     
    value = instance.SelectionBorderColor
    public Nullable<Color> SelectionBorderColor {get; set;}

    Property Value

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