Spread for ASP.NET 10 Product Documentation
ResetLocked Method (Cell)
Example 


Resets the locked state for the cell and makes the cell inherit the locked state from the default cell.
Syntax
'Declaration
 
Public Sub ResetLocked() 
'Usage
 
Dim instance As Cell
 
instance.ResetLocked()
public void ResetLocked()
Example
This example uses the ResetLocked method.
FarPoint.Web.Spread.Cell mycell;
FarPoint.Web.Spread.Inset margin = new FarPoint.Web.Spread.Inset(20, 40, 50, 20);
mycell = FpSpread1.Cells[0, 0];
mycell.Text = "Note Test";
mycell.Locked = true;
mycell.Margin = margin;
mycell.Note = "This is the Note";
FpSpread1.ActiveSheetView.Rows[0].Height = 80;
//mycell.ResetMargin();
//mycell.ResetLocked();
//mycell.ResetNote();
Dim mycell As FarPoint.Web.Spread.Cell
Dim margin As New FarPoint.Web.Spread.Inset(20,40,50,20)
mycell=FpSpread1.Cells(0,0)
mycell.Text="Note Test"
mycell.Locked=True
mycell.Margin=margin
mycell.Note="This is the Note"
FpSpread1.ActiveSheetView.Rows(0).Height=80
'mycell.ResetMargin()
'mycell.ResetLocked()
'mycell.ResetNote()
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

Cell Class
Cell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.