Gets the data only flag.
Syntax
Visual Basic (Declaration) | |
---|
Public Property DataOnly As Boolean |
C# | |
---|
public bool DataOnly {get; set;} |
Property Value
Boolean:
true for data only;
false otherwise
Example
This example moves the data and formatting.
C# | Copy Code |
---|
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;
}
|
Visual Basic | Copy Code |
---|
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 |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also