Spread ASP.NET 6.0 Product Documentation
FrozenRowCount Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : FrozenRowCount Property


Glossary Item Box

Gets or sets the number of frozen (non-scrollable) rows for this sheet.

Syntax

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

Property Value

Integer number of rows to freeze

Remarks

This property (as well as any of the scroll bar related properties) does not have an effect on the Mozilla Firefox browser. Firefox does not support the CSS properties to handle this customization of the scrolling (or in this case non-scrolling).

Example

This example freezes columns and rows.
C#Copy Code
FpSpread1.Sheets[0].FrozenColumnCount = 1;
FpSpread1.Sheets[0].FrozenRowCount = 1; 
Visual BasicCopy Code
FpSpread1.Sheets(0).FrozenColumnCount = 1 
FpSpread1.Sheets(0).FrozenRowCount = 1

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.