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 link
s.
in addition that, you'll have make sure uri
s don't point same thing. if do, change in same thing reflected across tabs.
Comments
Post a Comment