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


Resets the Locked property to its default value.
Syntax
'Declaration
 
Public Sub ResetLocked() 
'Usage
 
Dim instance As StyleInfo
 
instance.ResetLocked()
public void ResetLocked()
Example
This example uses the ResetLocked method.
FarPoint.Web.Spread.StyleInfo Style = new FarPoint.Web.Spread.StyleInfo();
Style.Margin = new FarPoint.Web.Spread.Inset(1, 1, 1, 1);
Style.Locked = true;
// Style.ResetLocked();
// Style.ResetMargin();       
FpSpread1.ActiveSheetView.SetStyleInfo(1, 1, Style);
FpSpread1.ActiveSheetView.Cells[1, 1].Text = "Style";
Dim Style As New FarPoint.Web.Spread.StyleInfo()
Style.Margin = New FarPoint.Web.Spread.Inset(1, 1, 1, 1)
Style.Locked = True
'Style.ResetLocked()
'Style.ResetMargin()
FpSpread1.ActiveSheetView.SetStyleInfo(1, 1, Style)
FpSpread1.ActiveSheetView.Cells(1, 1).Text = "Style"
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

StyleInfo Class
StyleInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.