Spread Windows Forms 7.0 Product Documentation
FrozenTrailingColumnCount Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : FrozenTrailingColumnCount Property


Glossary Item Box

Gets or sets the number of non-scrolling columns on the trailing edge of this sheet.

Syntax

Visual Basic (Declaration) 
Public Property FrozenTrailingColumnCount As Integer
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim value As Integer
 
instance.FrozenTrailingColumnCount = value
 
value = instance.FrozenTrailingColumnCount
C# 
public int FrozenTrailingColumnCount {get; set;}

Property Value

Integer number of frozen columns

Exceptions

ExceptionDescription
System.ArgumentOutOfRangeException Specified value is out of range; must be greater than or equal to zero

Remarks

This property freezes the last n columns between the last scrollable viewport and the scroll bars similar to how the frozen leading property (FrozenColumnCount) freezes the first m columns between the headers and the first scrollable viewport.

Example

This example sets frozen trailing rows and columns.
C#Copy Code
fpSpread1.Sheets[0].FrozenTrailingColumnCount = 1;
fpSpread1.Sheets[0].FrozenTrailingRowCount = 1; 
Visual BasicCopy Code
FpSpread1.Sheets(0).FrozenTrailingColumnCount = 1
FpSpread1.Sheets(0).FrozenTrailingRowCount = 1 

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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