PowerTools SPREAD for Windows Forms 10.0J
DataOnly プロパティ (DragFillBlockCompletedEventArgs)


データのみを使用するかどうかを取得します。
構文
'Declaration
 
Public ReadOnly Property DataOnly As Boolean
'使用法
 
Dim instance As DragFillBlockCompletedEventArgs
Dim value As Boolean
 
value = instance.DataOnly
public bool DataOnly {get;}

プロパティ値

Boolean:データのみの場合は True、それ以外の場合は False
次のサンプルコードは、データのみを扱うかどうかを示すブールフラグの値を返します。
private void fpSpread1DragFillBlockCompleted(object sender, FarPoint.Win.Spread.DragFillBlockCompletedEventArgs e) 
{
     fpSpread1.ActiveSheet.Cells[0, 0].Text = e.DataOnly.ToString();
}
Private Sub FpSpread1DragFillBlockCompleted(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.DragFillBlockCompletedEventArgs)
Handles FpSpread1.DragFillBlockCompleted
     FpSpread1.ActiveSheet.Cells(0, 0).Text = e.DataOnly.ToString()
End Sub
参照

DragFillBlockCompletedEventArgs クラス
DragFillBlockCompletedEventArgs メンバ

 

 


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