PowerTools SPREAD for ASP.NET 8.0J
SheetView プロパティ (SheetViewStateEventArgs)

ロードまたは保存しようとする状態のシートを取得します。
構文
'Declaration
 
Public ReadOnly Property SheetView As SheetView
public SheetView SheetView {get;}

プロパティ値

シートを含むSheetView
private void FpSpread1_SaveOrLoadSheetState(object sender, FarPoint.Web.Spread.SheetViewStateEventArgs e)
{
    if (e.IsSave)
    {
        Session["SheetName" + e.Index] = e.SheetView.SaveViewState();
    }
    else
    {
        e.SheetView.LoadViewState("SheetName" + e.Index);
    }
    e.Handled = true;
}
Private Sub FpSpread1_SaveOrLoadSheetState(ByVal sender As Object, ByVal e As FarPoint.Web.Spread.SheetViewStateEventArgs)
    Handles FpSpread1.SaveOrLoadSheetState
    If e.IsSave Then
        Session("SheetName" & e.Index) = e.SheetView.SaveViewState()
    Else
        e.SheetView.LoadViewState("SheetName" & e.Index)
    End If
    e.Handled = True
End Sub
参照

SheetViewStateEventArgs クラス
SheetViewStateEventArgs メンバ

 

 


© 2003-2015, GrapeCity inc. All rights reserved.