class Data { //using cLR properties and not a dependency property (not sure whether that causing //any problem) private List<string> _pName; private List<string> _pNumber; public' List'<string>' PName { get { return _pName; } set { _pName= value; } } public' List<string> PNumber { get { return _pNumber; } set { _pNumber= value; } } //Getting data in PName and PNumber accordingly by some function call
<listview selectedvaluepath="Value" name="someName" selectionmode="Single" margin="263,35,12,50"> selectionchanged="some_SelectionChanged" focusable="False" fontweight="Bold" tabindex="4"> <listview.view> <gridview> <gridview.columns> <gridviewcolumn header="Person Number" width="Auto" /> <gridviewcolumn header="Person Name" width="Auto" /> </gridview.columns> </gridview> </listview.view> </listview>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)