MESCIUS SPREAD for ASP.NET 10.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 メンバ

 

 


© MESCIUS inc. All rights reserved.