Spread Silverlight Documentation
SelectionPolicy Enumeration
Example Example 


Specifies how users can select items in the control.
Syntax
'Declaration
 
Public Enum SelectionPolicy 
   Inherits System.Enum
'Usage
 
Dim instance As SelectionPolicy
public enum SelectionPolicy : System.Enum 
Members
MemberDescription
MultiRange[2] Allows users to select single items and ranges of items, including multiple ranges.
Range[1] Allows users to select single items and ranges of items, but not multiple ranges.
Single[0] Allows users to only select single items.
Example
This example uses the SelectionPolicy enumeration.
gcSpreadSheet1.Sheets[0].SelectionPolicy = GrapeCity.Windows.SpreadSheet.Data.SelectionPolicy.Single;
gcSpreadSheet1.Sheets[0].SelectionUnit = GrapeCity.Windows.SpreadSheet.Data.SelectionUnit.Cell;
GcSpreadSheet1.Sheets(0).SelectionPolicy = GrapeCity.Windows.SpreadSheet.Data.SelectionPolicy.Single
GcSpreadSheet1.Sheets(0).SelectionUnit = GrapeCity.Windows.SpreadSheet.Data.SelectionUnit.Cell
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         GrapeCity.Windows.SpreadSheet.Data.SelectionPolicy

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

GrapeCity.Windows.SpreadSheet.Data Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.