Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / GridControl Class / ShowFocusRectangle Property


In This Topic
    ShowFocusRectangle Property (GridControl)
    In This Topic
    Gets or sets a boolean value indicating if the focus rectangle should be displayed around the CurrentRow and/or CurrentCell.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Indicates if the focus rectangle should be displayed around the CurrentRow and/or CurrentCell.")>
    <CategoryAttribute("Appearance")>
    Public Property ShowFocusRectangle As Boolean
    'Usage
     
    Dim instance As GridControl
    Dim value As Boolean
     
    instance.ShowFocusRectangle = value
     
    value = instance.ShowFocusRectangle
    [Description("Indicates if the focus rectangle should be displayed around the CurrentRow and/or CurrentCell.")]
    [Category("Appearance")]
    public bool ShowFocusRectangle {get; set;}

    Property Value

    true if the focus rectangle should be displayed around the CurrentRow and/or CurrentCell; false otherwise. By default, DefaultShowFocusRectangle.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also