Syncfusion.Grid.Windows


DataSource Property (GridStyleInfo)

Gets or sets a data source that holds items to be displayed in a drop-down list. A datasource can be specified instead of manually filling the choicelist with string entries.
Syntax
'Declaration
 
<CloneablePropertyAttribute(False)>
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
<DescriptionAttribute("Indicates the list that this cell will use to get its items.")>
<CategoryAttribute("Data")>
<DisposeablePropertyAttribute(False)>
<NotifyParentPropertyAttribute(True)>
<TypeConverterAttribute("System.Windows.Forms.Design.DataSourceConverter, System.Design")>
Public Property DataSource As Object
'Usage
 
Dim instance As GridStyleInfo
Dim value As Object
 
instance.DataSource = value
 
value = instance.DataSource
[CloneableProperty(false)]
[RefreshProperties(RefreshProperties.Repaint)]
[Description("Indicates the list that this cell will use to get its items.")]
[Category("Data")]
[DisposeableProperty(false)]
[NotifyParentProperty(true)]
[TypeConverter("System.Windows.Forms.Design.DataSourceConverter, System.Design")]
public object DataSource {get; set;}
Remarks

The default value for the DataSource property is null.

The property affects the behavior or appearance of the following cell types:

AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also