Spread Windows Forms 6.0 Product Documentation
EditModePermanent Property
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SpreadView Class : EditModePermanent Property


Glossary Item Box

Gets or sets whether edit mode remains on for any cell in the view when that cell becomes active.

Syntax

Visual Basic (Declaration) 
Public Property EditModePermanent As Boolean
Visual Basic (Usage)Copy Code
Dim instance As SpreadView
Dim value As Boolean
 
instance.EditModePermanent = value
 
value = instance.EditModePermanent
C# 
public bool EditModePermanent {get; set;}

Property Value

Boolean: true if the cell immediately goes to edit mode; false otherwise

Remarks

If this property is set to true, when any cell in the spreadsheet becomes the active cell, it immediately enters edit mode. In effect, setting this property to true creates a spreadsheet with cells that do not display the focus rectangle. You can use this option to emulate a table of editor controls.

When this property is set to true, every time you move the active cell, the EditMode event occurs twice: when you leave the current active cell and when you move to the new active cell.

When edit mode is on, no selections are possible. Refer to Hiding Selection and Focus Rectangle.

Note: Setting this property to true automatically sets the SelectionBlockOptions property to 0. If you then set this property to false, you must reset the SelectionBlockOptions property to its original setting.

Tip: If you set this property to true, you might want to set the EditModeReplace property to false to prevent users from accidentally deleting their data.

For a discussion of edit mode and related properties, refer to Understanding Edit Mode.

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

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.