C1.Win.C1FlexGrid Namespace > Column Class : Name Property |
'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
[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); }
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.
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