FlexGrid for WinForms
Name Property (Column)



Gets or sets the name of this column.
Syntax
'Declaration
 
<C1CategoryAttribute("Layout")>
<C1DescriptionAttribute("Gets or sets the name for this column (can be used as an indexer).")>
<MergablePropertyAttribute(False)>
<DefaultValueAttribute()>
Public Property Name As String
'Usage
 
Dim instance As Column
Dim value As String
 
instance.Name = value
 
value = instance.Name
[C1Category("Layout")]
[C1Description("Gets or sets the name for this column (can be used as an indexer).")]
[MergableProperty(false)]
[DefaultValue()]
public string Name {get; set;}
[C1Category("Layout")]
[C1Description("Gets or sets the name for this column (can be used as an indexer).")]
[MergableProperty(false)]
[DefaultValue()]
public:
property String^ Name {
   String^ get();
   void set (    String^ value);
}
Remarks

The name can be used as an index in the ColumnCollection property indexer.

When the grid is bound to a DataSource, the column names are set automatically to the names of columns in the data source, and are used for binding.

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

Reference

Column Class
Column Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback