Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

How to make TabControl a static object if created in Designer

$
0
0

Hey all,

I've created a TabControl in Designer (I dragged it to Grid from Toolbox). Now I need to make a Property that returns reference - that TabControl so I could do something with it from another window made in the same project. I need to make it static. But it says that TabControl I created isn't static. So how can I make a TabControl that was made in Designer static ? 

Thanks !


Knowledge: C, C++, C#, Java, Pawn


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>