BCGControlBar Library for .NET
SelectionFrameWidth Property




Gets or sets width of selection frame.
Syntax
'Declaration
 
Public Property SelectionFrameWidth As Integer
'Usage
 
Dim instance As GridControl
Dim value As Integer
 
instance.SelectionFrameWidth = value
 
value = instance.SelectionFrameWidth
public int SelectionFrameWidth {get; set;}
public: __property int get_SelectionFrameWidth();
public: __property void set_SelectionFrameWidth( 
   int value
);
public:
property int SelectionFrameWidth {
   int get();
   void set (    int value);
}
Remarks

Selection frame is drawn around around selected cell (s). Currently this value affects hit test of cells only (e.g. it does not affect the visual representation of selection in grid). For example, if you set this value to 5 pixels, then the bounding rectangle of cell content will be reduced by 5 pixels from each side. All the area outside will be considered as cell border.

The default value (which is not recommended to change) is 3 pixels.

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

GridControl Class
GridControl Members

Send Feedback