Spread Silverlight Documentation
SetColumnResizable(Int32,Boolean) Method
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class > SetColumnResizable Method : SetColumnResizable(Int32,Boolean) Method
The column index.
Set to true to allow users to resize the column.
Sets whether users can resize individual columns in the specified sheet area.
Syntax
'Declaration
 
Public Overloads Sub SetColumnResizable( _
   ByVal column As System.Integer, _
   ByVal value As System.Boolean _
) 
'Usage
 
Dim instance As Worksheet
Dim column As System.Integer
Dim value As System.Boolean
 
instance.SetColumnResizable(column, value)
public void SetColumnResizable( 
   System.int column,
   System.bool value
)

Parameters

column
The column index.
value
Set to true to allow users to resize the column.
Example
This example uses the SetColumnResizable method.
gcSpreadSheet1.Sheets[0].Columns[0].CanUserResize = false;
gcSpreadSheet1.Sheets[0].Rows[0].CanUserResize = false;
gcSpreadSheet1.Sheets[0].SetColumnResizable(3, false);
gcSpreadSheet1.Sheets[0].SetRowResizable(3, false);
GcSpreadSheet1.Sheets(0).Columns(0).CanUserResize = False
GcSpreadSheet1.Sheets(0).Rows(0).CanUserResize = False
GcSpreadSheet1.Sheets(0).SetColumnResizable(3, False)
GcSpreadSheet1.Sheets(0).SetRowResizable(3, False)
See Also

Reference

Worksheet Class
Worksheet Members
Overload List