Syncfusion.PivotAnalysis.Windows
Example 


ItemSource Property (PivotGridControl)

Gets or sets the value of item source.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<CategoryAttribute("Pivot")>
Public Property ItemSource As Object
'Usage
 
Dim instance As PivotGridControl
Dim value As Object
 
instance.ItemSource = value
 
value = instance.ItemSource
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[Category("Pivot")]
public object ItemSource {get; set;}
Example
This example shows how to use the ItemSource property.
// Adding ItemSource to the pivot grid. Here "ProdutSales" is the datasource assigned to the grid.
this.pivotGridControl1.ItemSource = ProductSales.GetSalesData();
' Adding ItemSource to the pivot grid. Here "ProdutSales" is the datasource assigned to the grid.
Me.pivotGridControl1.ItemSource = ProductSales.GetSalesData()
AssemblyVersion

Syncfusion.PivotAnalysis.Windows: 17.4460.0.39

See Also