GrapeCity.Xaml.SpreadSheet.Data
Selections Property (Worksheet)
Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace > Worksheet Class : Selections Property
Returns a collection of selected cell ranges.
Syntax
'Declaration
 
Public ReadOnly Property Selections As ReadOnlyCollection(Of CellRange)
'Usage
 
Dim instance As Worksheet
Dim value As ReadOnlyCollection(Of CellRange)
 
value = instance.Selections
public ReadOnlyCollection<CellRange> Selections {get;}
Example
This example uses the Selections property.
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].Selections.Count.ToString());
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).Selections.Count.ToString())
See Also

Reference

Worksheet Class
Worksheet Members