c# - Wpf multiple hyperlinks in one column -


in wpf datagrid how can show multiple hyperlinks(each pointing different url) in 1 column comma separated.

we have datagrid 2 columns id , 'file names'. single id can have multiple files.

we need show in datagrid 2 columns 'id' , 'files' files associated id in single row file name comma separated hyperlink, user can click on hyperlink , open it.

i single link not multiple hyperlinks. code files column display single column <datagridhyperlinkcolumn header="files" binding="{binding filelink}" contentbinding="{binding filename}" width="auto" canusersort="false"> <datagridhyperlinkcolumn.elementstyle> <style> <eventsetter event="hyperlink.click"handler="hyperlink_click"/> </style> </datagridhyperlinkcolumn.elementstyle> </datagridhyperlinkcolumn>

any appreciated.

you can create own datagridtemplatecolumn datatemplate each hyperlink, , bind template list of links.

the datatemplate can itemscontrol whouse itemssource list of links


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -