Gets whether the destination range contains data (that is overwritten).
Syntax
Visual Basic (Declaration) | |
---|
Public ReadOnly Property Overwrite As Boolean |
C# | |
---|
public bool Overwrite {get;} |
Property Value
Boolean:
true to overwrite;
false otherwise
Example
C# | Copy Code |
---|
private void fpSpread1_DragDropBlock(object sender, FarPoint.Win.Spread.DragDropBlockEventArgs e)
{
if (e.Overwrite == true)
{
e.Cancel = true;
}
}
|
Visual Basic | Copy Code |
---|
Private Sub FpSpread1_DragDropBlock(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.DragDropBlockEventArgs) Handles
FpSpread1.DragDropBlock
If e.Overwrite = True Then
e.Cancel = True
End If
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