BCGControlBar Library for .NET
ToRectangle Method (GridSelectionRange)




Returns a Rectangle object that represents the range.
Syntax
'Declaration
 
Public Function ToRectangle() As Rectangle
'Usage
 
Dim instance As GridSelectionRange
Dim value As Rectangle
 
value = instance.ToRectangle()
public Rectangle ToRectangle()
public: Rectangle ToRectangle(); 
public:
Rectangle ToRectangle(); 

Return Value

A Rectangle representing the current range.
Remarks
It's not recommended to use this method for column and row ranges.
In this case you should use GridControl.SelectionRangeToPoints and then build Rectangle.
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

GridSelectionRange Class
GridSelectionRange Members

Send Feedback