c# - Get URI from Object -


i using modernui developing wpf application. contains control called link can used navigating through pages. it's used in tab controls displaying pages on multiple tabs (each tab serves link).

my requirement generate tabs dynamically in each tab have display same content (same user control).

the way set link content through source property accepts object of type uri.

suppose if create 5 tabs (5 links) , set same uri each tab usercontrol object shared among tabs.(if make change on 1 tab reflects on other tabs).

how should prevent this? there way can use runtime object uri?

any suggestions welcome if can done using alternate approach?

thanks!!

if indeed have 5 different tabs, supposed, design, use 5 different sources. if want have same content initially, should create 5 different instances of uri type object corresponding 5 links.

in addition that, you'll have make sure uris don't point same thing. if do, change in same thing reflected across tabs.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -