Gets or sets the number of columns.
Syntax
Visual Basic (Declaration) | |
---|
Public Property Columns As Integer |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As GridViewLayout
Dim value As Integer
instance.Columns = value
value = instance.Columns |
C# | |
---|
public int Columns {get; set;} |
Managed Extensions for C++ | |
---|
public: __property int get_Columns();
public: __property void set_Columns(
int value
); |
C++/CLI | |
---|
public:
property int Columns {
int get();
void set ( int value);
} |
Property Value
Type:
System.Int32 The number of columns.
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also