FlexGrid for WinForms
FocusRect Property



Gets or sets the type of focus rectangle to display.
Syntax
'Declaration
 
<C1DescriptionAttribute("Gets or sets the type of focus rectangle to display.")>
<DefaultValueAttribute()>
<CategoryAttribute("Appearance")>
Public Property FocusRect As FocusRectEnum
'Usage
 
Dim instance As C1FlexGridBase
Dim value As FocusRectEnum
 
instance.FocusRect = value
 
value = instance.FocusRect
[C1Description("Gets or sets the type of focus rectangle to display.")]
[DefaultValue()]
[Category("Appearance")]
public FocusRectEnum FocusRect {get; set;}
[C1Description("Gets or sets the type of focus rectangle to display.")]
[DefaultValue()]
[Category("Appearance")]
public:
property FocusRectEnum FocusRect {
   FocusRectEnum get();
   void set (    FocusRectEnum value);
}
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.

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

Reference

C1FlexGridBase Class
C1FlexGridBase Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback