Spread Silverlight Documentation
Selections Property (Worksheet)
Example 


Returns a collection of selected cell ranges.
Syntax
'Declaration
 
Public ReadOnly Property Selections As System.Collections.ObjectModel.ReadOnlyCollection(Of CellRange)
'Usage
 
Dim instance As Worksheet
Dim value As System.Collections.ObjectModel.ReadOnlyCollection(Of CellRange)
 
value = instance.Selections
public System.Collections.ObjectModel.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())
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.