PowerTools SPREAD for Windows Forms 8.0J
DataOnly プロパティ (DragFillBlockEventArgs)


データのみを扱うかどうかを表すフラグを取得します。
構文
'Declaration
 
Public Property DataOnly As Boolean
'使用法
 
Dim instance As DragFillBlockEventArgs
Dim value As Boolean
 
instance.DataOnly = value
 
value = instance.DataOnly
public bool DataOnly {get; set;}

プロパティ値

Boolean:データのみの場合は True、それ以外の場合は False
次のサンプルコードは、データと書式を移動します。
fpSpread1.AllowDragFill = true;
fpSpread1.Sheets[0].Cells[0, 0].BackColor = Color.DarkOrchid;
private void fpSpread1_DragFillBlock(object sender, FarPoint.Win.Spread.DragFillBlockEventArgs e)
{
    e.DataOnly = false;
}
FpSpread1.AllowDragFill = True
FpSpread1.Sheets(0).Cells(0, 0).BackColor = Color.DarkOrchid
Private Sub FpSpread1_DragFillBlock(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.DragFillBlockEventArgs) Handles
FpSpread1.DragFillBlock
        e.DataOnly = False
End Sub
参照

DragFillBlockEventArgs クラス
DragFillBlockEventArgs メンバ

 

 


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