Gets or sets whether the move operation moves the contents of the rows or columns (and rows or columns in between) without changing the index mapping.
Syntax
Visual Basic (Declaration) | |
---|
Public Property MoveContent As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As DragMoveEventArgs
Dim value As Boolean
instance.MoveContent = value
value = instance.MoveContent |
C# | |
---|
public bool MoveContent {get; set;} |
Property Value
Boolean:
true if content is moved in the models and mappings with the models change;
false otherwise
Remarks
Example
This example will move the span when dragging a column.
C# | Copy Code |
---|
fpSpread1.AllowColumnMove = true;
fpSpread1.ActiveSheet.AddSpanCell(0, 0, 2, 2);
private void fpSpread1_ColumnDragMove(object sender, FarPoint.Win.Spread.DragMoveEventArgs e)
{
e.MoveContent = true;
}
|
Visual Basic | Copy Code |
---|
FpSpread1.AllowColumnMove = True
FpSpread1.ActiveSheet.AddSpanCell(0, 0, 2, 2)
Private Sub FpSpread1_ColumnDragMove(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.DragMoveEventArgs) Handles FpSpread1.ColumnDragMove
e.MoveContent = True
End Sub
|
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also