Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / StyleInfo Class / ResetCanFocus Method
Example


In This Topic
    ResetCanFocus Method (StyleInfo)
    In This Topic
    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