Spread for ASP.NET 11 Product Documentation
ResetCanFocus Method (StyleInfo)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > StyleInfo Class : ResetCanFocus Method
Resets the CanFocus property to its default value.
Syntax
'Declaration
 
Public Sub ResetCanFocus() 
'Usage
 
Dim instance As StyleInfo
 
instance.ResetCanFocus()
public void ResetCanFocus()
Example
This example uses the ResetCanFocus method.
FarPoint.Web.Spread.StyleInfo Style = new FarPoint.Web.Spread.StyleInfo();
Style.CanFocus = false;
Style.BackColor = Color.Beige;
// Style.ResetCanFocus();
FpSpread1.ActiveSheetView.SetStyleInfo(1, 1, Style);
Dim Style As New FarPoint.Web.Spread.StyleInfo()
Style.CanFocus = False
Style.BackColor = Color.Beige
'Style.ResetCanFocus()
FpSpread1.ActiveSheetView.SetStyleInfo(1, 1, Style)
See Also

Reference

StyleInfo Class
StyleInfo Members