FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid.Classic Namespace / C1FlexGridClassic Class / FocusRect Property

In This Topic
    FocusRect Property (C1FlexGridClassic)
    In This Topic
    Gets or sets the type of focus rectangle to display.
    Syntax
    'Declaration
     
    
    Public Property FocusRect As FocusRectEnum
    public FocusRectEnum FocusRect {get; set;}
    Remarks

    If the focus rectangle is drawn, then the current cell is painted using the Focus style, which by default looks like a regular scrollable cell (as in most spreadsheets and grids).

    If the focus rectangle is hidden (using the C1.Win.C1FlexGrid.FocusRectEnum.None setting), the current cell is painted using the C1.Win.C1FlexGrid.CellStyleCollection.Highlight style.

    See Also