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
     
    
    <C1DescriptionAttribute("FocusRect", "Gets or sets the type of focus rectangle to display.")>
    <C1CategoryAttribute("Appearance")>
    <DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    Public Property FocusRect As FocusRectEnum
    [C1Description("FocusRect", "Gets or sets the type of focus rectangle to display.")]
    [C1Category("Appearance")]
    [DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    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