PowerWEB LiveControls for ASP.NET
Columns Property
See Also  Send comments on this topic.
Dart.LiveControls Namespace > LiveDataGrid Class : Columns Property



Gets a collection of objects that represent the columns of the LiveDataGrid control.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute()>
<MergablePropertyAttribute(False)>
<PersistenceModeAttribute(PersistenceMode.InnerProperty)>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Dart.LiveControls.Design.LiveDataGridColumnCollectionEditor, Dart.LiveControls, Version=4.0.0.777, Culture=neutral, PublicKeyToken=5966291b8955e4bb")>
<DefaultValueAttribute()>
Public Overrides ReadOnly Property Columns As DataGridColumnCollection
Visual Basic (Usage)Copy Code
Dim instance As LiveDataGrid
Dim value As DataGridColumnCollection
 
value = instance.Columns
C# 
[CategoryAttribute()]
[MergablePropertyAttribute(false)]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Dart.LiveControls.Design.LiveDataGridColumnCollectionEditor, Dart.LiveControls, Version=4.0.0.777, Culture=neutral, PublicKeyToken=5966291b8955e4bb")]
[DefaultValueAttribute()]
public override DataGridColumnCollection Columns {get;}
C++/CLI 
[CategoryAttribute()]
[MergablePropertyAttribute(false)]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Dart.LiveControls.Design.LiveDataGridColumnCollectionEditor, Dart.LiveControls, Version=4.0.0.777, Culture=neutral, PublicKeyToken=5966291b8955e4bb")]
[DefaultValueAttribute()]
public:
property DataGridColumnCollection^ Columns {
   DataGridColumnCollection^ get() override;
}

Remarks

This member is functionally equivalent to System.Web.UI.WebControls.DataGridClass.Columns.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.0.2
© 2012 Dart Communications. All Rights Reserved.