BCGControlBar Library for .NET
CurrentSelection Property




Represents the current selection range.
Syntax
'Declaration
 
Public Property CurrentSelection As GridSelectionRange
'Usage
 
Dim instance As GridControl
Dim value As GridSelectionRange
 
instance.CurrentSelection = value
 
value = instance.CurrentSelection
public GridSelectionRange CurrentSelection {get; set;}
public: __property GridSelectionRange* get_CurrentSelection();
public: __property void set_CurrentSelection( 
   GridSelectionRange* value
);
public:
property GridSelectionRange^ CurrentSelection {
   GridSelectionRange^ get();
   void set (    GridSelectionRange^ value);
}
Remarks
It's possible to select a couple of ranges with Ctrl key held down. "CurrentRange" means  the range of cells that is being selected, or has been selected. Previous ranges can be retrieved using SelectionRanges property.
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