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

In This Topic
    FocusRect Property (C1FlexGridBase)
    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 CellStyleCollection.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 FocusRectEnum.None setting), the current cell is painted using the CellStyleCollection.Highlight style.

    See Also