'Declaration Public Property OperationMode As OperationMode
'Usage Dim instance As SheetView Dim value As OperationMode instance.OperationMode = value value = instance.OperationMode
public OperationMode OperationMode {get; set;}
'Declaration Public Property OperationMode As OperationMode
'Usage Dim instance As SheetView Dim value As OperationMode instance.OperationMode = value value = instance.OperationMode
public OperationMode OperationMode {get; set;}
Exception | Description |
---|---|
System.ComponentModel.InvalidEnumArgumentException | Specified operation mode is not valid |
When this property is set to OperationMode.Normal or OperationMode.ReadOnly,
When this property is set, related properties are also set automatically as summarized in this table:
OperationMode Setting |
Effect on Other Properties |
---|---|
Normal | SelectionPolicy = SelectionPolicy.Range |
SelectionUnit = SelectionUnit.Cell | |
ReadOnly | SelectionPolicy = SelectionPolicy.Range |
SelectionUnit = SelectionUnit.Cell | |
RowMode | SelectionPolicy = SelectionPolicy.Range |
SelectionUnit = SelectionUnit.Cell | |
SingleSelect | SelectionPolicy = SelectionPolicy.Single |
SelectionUnit = SelectionUnit.Row | |
MultiSelect | SelectionPolicy = SelectionPolicy.MultiRange |
SelectionUnit = SelectionUnit.Row | |
ExtendedSelect | SelectionPolicy = SelectionPolicy.MultiRange |
SelectionUnit = SelectionUnit.Row |
For information on the settings of OperationMode, refer to the OperationMode enumeration.
fpSpread1.ActiveSheet.OperationMode = FarPoint.Win.Spread.OperationMode.RowMode;
FpSpread1.ActiveSheet.OperationMode = FarPoint.Win.Spread.OperationMode.RowMode