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


Glossary Item Box

Gets or sets whether the selected range of cells in the view remains highlighted when the view loses the focus.

Syntax

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

Property Value

Boolean: true to retain it; false otherwise

Remarks

The RetainSelectionBlock property applies to cell selections in the grid modes (Normal and ReadOnly) and also applies to cell focus indicators (Normal and RowMode). This property does not apply to row selections in the list modes (RowMode, SingleSelect, MultiSelect, ExtendedSelect). List boxes always show their row selections.The RetainSelectionBlock property does not apply to row selections in the the list modes (RowMode, SingleSelect, MultiSelect, ExtendedSelect).

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.