MESCIUS SPREAD for Windows Forms 15.0J
View プロパティ (RowHeightChangedEventArgs)
使用例 

高さが変更された行を含むビューを取得します。
構文
'宣言
 
Public ReadOnly Property View As SpreadView
public SpreadView View {get;}

プロパティ値

ビューを含むSpreadViewオブジェクト
使用例
private void fpSpread1_RowHeightChanged(object sender, FarPoint.Win.Spread.RowHeightChangedEventArgs e)
        {
           foreach (FarPoint.Win.Spread.RowHeightChangeExtents rExt in e.RowList)
            { e.View.Sheets[0].Rows[rExt.FirstRow, rExt.LastRow].BackColor = Color.Yellow; }
        }
Private Sub FpSpread1_RowHeightChanged(sender As Object, e As FarPoint.Win.Spread.RowHeightChangedEventArgs) Handles FpSpread1.RowHeightChanged
        For Each rExt As FarPoint.Win.Spread.RowHeightChangeExtents In e.RowList
            e.View.Sheets(0).Rows(rExt.FirstRow, rExt.LastRow).BackColor = Color.Yellow
        Next
    End Sub
参照

RowHeightChangedEventArgs クラス
RowHeightChangedEventArgs メンバ

 

 


© MESCIUS inc. All rights reserved.