Designing WPF application in VS-2008
-
Hi. I have recently started learning WPF. I've written a small app with a tab control on it. I have basically finished it and works fine. But here is the thing... why can't I select the tabs like I can in a normal windows app in the design mode so I can edit controls on that specific tab? I've tried Googling for an answer, but found nothing... which got me thinking that it's not a "general problem" and that I must be doing something wrong???:confused:
-
Hi. I have recently started learning WPF. I've written a small app with a tab control on it. I have basically finished it and works fine. But here is the thing... why can't I select the tabs like I can in a normal windows app in the design mode so I can edit controls on that specific tab? I've tried Googling for an answer, but found nothing... which got me thinking that it's not a "general problem" and that I must be doing something wrong???:confused:
Clicking on a TabItem's tab in the design pane should move you to that TabItem's contents. Also, placing the caret in a TabItem's XAML should move you to that TabItem's contents. Maybe try it with this:
<TabControl> <TabItem Header="Tab 1"> <TextBlock Text="Text 1"/> </TabItem> <TabItem Header="Tab 2"> <TextBlock Text="Text 2"/> </TabItem> <TabItem Header="Tab 3"> <TextBlock Text="Text 3"/> </TabItem> </TabControl>
Mark Salsbery Microsoft MVP - Visual C++ :java: