Spread Silverlight Documentation
CanUserResize Property (Column)
Example 


Gets or sets whether this column can be resized.
Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute()>
Public Property CanUserResize As System.Boolean
'Usage
 
Dim instance As Column
Dim value As System.Boolean
 
instance.CanUserResize = value
 
value = instance.CanUserResize
[System.ComponentModel.DefaultValue()]
public System.bool CanUserResize {get; set;}

Property Value

true if the column can be resized; otherwise, false. The default value is true.
Example
This example sets the CanUserResize property.
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)
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

Column Class
Column Members

 

 


Copyright © GrapeCity, inc. All rights reserved.