Spread Windows Forms 6.0 Product Documentation
AllowColumnMove Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : AllowColumnMove Property


Glossary Item Box

Gets or sets whether to allow the user to move columns.

Syntax

Visual Basic (Declaration) 
Public Property AllowColumnMove As Boolean
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim value As Boolean
 
instance.AllowColumnMove = value
 
value = instance.AllowColumnMove
C# 
public bool AllowColumnMove {get; set;}

Property Value

Boolean: true to allow the user to move columns; false otherwise

Remarks

Select a column and then drag to the new location.

Example

The example sets the AllowColumnMove property.
C#Copy Code
fpSpread1.AllowColumnMove =true;

fpSpread1.AllowRowMove=true;
Visual BasicCopy Code
FpSpread1.AllowColumnMove = True

FpSpread1.AllowRowMove = True

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

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.