Click here to Skip to main content
15,064,915 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I wish to create a WPFapplication which contains a tabcontrol with 6 tabitems . Inside the first tab items (general settings) I wish to have a few radio buttons and a button(next) when i click on button it should display a few textbox . Thereby looking like a page in same tabitem(general settings). I have done this in formapplication by drawing a panel inside a tabitem and placing a radio buttons and button(next)when and again drawing a panel2 and placing textbox and writing in button click event .

Panel1.visible=false;
panel2.visible=true;


Which made it look like a page . Here in wpf when i do the same with wrappanel controls in wrappanel doesn't hide when i use
wrappanel1.visibility=visibility.collapsed;


Any suggestion to create a page like format in WPF
Posted

1 solution

Use
C#
wrappanel1.Visibility = System.Windows.Visibility.Hidden;
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900