Display element parameter in window form datagrid

Display element parameter in window form datagrid

pccheung
Contributor Contributor
408 Views
2 Replies
Message 1 of 3

Display element parameter in window form datagrid

pccheung
Contributor
Contributor

Dear all,

I have collected a list of element parameter value (string type) and want to display it in the window form data grid row.

 

List<string>  markList <------------Collected from Revit Element Parameter.

 

I tried to pass the list to the window form by wrting this line.

testForm.passedmarkList = markList;                             where passedmarkList is defined the the Form class.

 

the next thing i want to do is to display the string in the  passedmarkList in a datagrid row by triggering a button clicking event.

 

however it fails,

i suspect that the markList is NOT passed to the testFrom.

 

Can anyone give me some help on this?

 

Or to be direct, how can I show the document collected data in the window form by triggering a button clicking event?

 

Thx in advance!!!

 

 

 

0 Likes
409 Views
2 Replies
Replies (2)
Message 2 of 3

BobbyC.Jones
Advocate
Advocate

It's hard to say with so few details.  I'd say either a), post more code, or b), set some some breakpoints in VS and following along in the debugger until you find the error.

--
Bobby C. Jones
0 Likes
Message 3 of 3

pccheung
Contributor
Contributor

Thx Man, i think i found a similar sample in the building coder SDK, let me digest it first

0 Likes