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


Glossary Item Box

Removes all spans from the row headers.

Syntax

Visual Basic (Declaration) 
Public Sub ClearRowHeaderSpanCells() 
Visual Basic (Usage)Copy Code
Dim instance As SheetView
 
instance.ClearRowHeaderSpanCells()
C# 
public void ClearRowHeaderSpanCells()

Example

This example clears the row header spans.
C#Copy Code
//Create Span
fpSpread1.Sheets[0].RowHeader.Columns.Count = 2;
fpSpread1.Sheets[0].AddRowHeaderSpanCell(0, 0, 2, 1);
//Clear Span 
fpSpread1.Sheets[0].ClearRowHeaderSpanCells();

Visual BasicCopy Code
'Create the span
FpSpread1.Sheets(0).RowHeader.Columns.Count = 2
FpSpread1.Sheets(0).AddRowHeaderSpanCell(0, 0, 2, 1)
'Clear the span 
FpSpread1.Sheets(0).ClearRowHeaderSpanCells()

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.