Adding Rows to Gridview without using databind
- by powertex
Hello,
I have a gridview inside of a listview predefined in the xaml:
....
<ListView x:Name="listPriority" IsSynchronizedWithCurrentItem="True" Margin="0,30,0,4" BorderThickness="0,0,0,0">
<ListView.View>
<GridView>
<GridViewColumn x:Name="grvPriorityColumn" Width="140" Header="Priority" />
<GridViewColumn x:Name="grvMessage" Width="250" Header="Message" />
</GridView>
</ListView.View>
....
I have an array containing data that needs to go into the "grvPriorityColumn" and "grvMessage". How do add this data to the gridview without using databinding?