Spread Windows Forms 10.0 Product Documentation
SetRowSizeable Method
Example 


Row index
Whether to allow users to resize the row
Sets whether users can resize the specified row on this sheet.
Syntax
'Declaration
 
Public Sub SetRowSizeable( _
   ByVal row As Integer, _
   ByVal sizeable As Boolean _
) 
'Usage
 
Dim instance As SheetView
Dim row As Integer
Dim sizeable As Boolean
 
instance.SetRowSizeable(row, sizeable)
public void SetRowSizeable( 
   int row,
   bool sizeable
)

Parameters

row
Row index
sizeable
Whether to allow users to resize the row
Example
This example illustrates the use of this member by returning whether the specified row can be resized.
bool b;
fpSpread1.ActiveSheet.SetRowSizeable(0, false);
b = fpSpread1.ActiveSheet.GetRowSizeable(0);
label1.Text = "GetRowSizeable for row 0 = " + b.ToString() + " - Try to resize the first row.";
Dim b As Boolean
FpSpread1.ActiveSheet.SetRowSizeable(0, False)
b = FpSpread1.ActiveSheet.GetRowSizeable(0)
Label1.Text = "GetRowSizeable for Row 0 = " & b.ToString() & " - Try to resize the first row."
Requirements

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

See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Allowing the User to Resize Rows or Columns

 

 


Copyright © GrapeCity, inc. All rights reserved.