Spread WPF 18
GrapeCity.Wpf.SpreadSheet Namespace / GcSpreadSheet Class / SelectionStyle Property


In This Topic
    SelectionStyle Property
    In This Topic
    Gets or sets how selections on this sheet are drawn.
    Syntax
    'Declaration
     
    <BindableAttribute(True)>
    <CategoryAttribute("Appearance")>
    Public Property SelectionStyle As SelectionStyle
    'Usage
     
    Dim instance As GcSpreadSheet
    Dim value As SelectionStyle
     
    instance.SelectionStyle = value
     
    value = instance.SelectionStyle
    [Bindable(true)]
    [Category("Appearance")]
    public SelectionStyle SelectionStyle {get; set;}

    Property Value

    The SelectionStyle value that determines the style of the selected cells.
    Remarks
    When the property is set to SelectionStyle.Renderer, the selection is drawn using a semi-transparent brush. If you set the property to SelectionStyle.Both, the selection is drawn using the semi-transparent brush and the defined colors. If you set this property to SelectionStyle.Color, the selection is drawn using the defined colors.
    See Also