Click here to Skip to main content
15,915,086 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: ItemsControl with multiple sources Pin
Jozef Hopko26-Feb-09 18:31
Jozef Hopko26-Feb-09 18:31 
GeneralRe: ItemsControl with multiple sources Pin
ABitSmart27-Feb-09 6:19
ABitSmart27-Feb-09 6:19 
QuestionDynamically add images Pin
TerRO_GirL26-Feb-09 10:43
TerRO_GirL26-Feb-09 10:43 
AnswerRe: Dynamically add images Pin
ABitSmart26-Feb-09 16:11
ABitSmart26-Feb-09 16:11 
Questiontrap the click event for a button that is in the resourcedictionary Pin
AAKAra26-Feb-09 9:45
AAKAra26-Feb-09 9:45 
AnswerRe: trap the click event for a button that is in the resourcedictionary Pin
ABitSmart26-Feb-09 16:50
ABitSmart26-Feb-09 16:50 
QuestionWPF and MDI? From external *.exe? Pin
softwarejaeger25-Feb-09 20:45
softwarejaeger25-Feb-09 20:45 
AnswerRe: WPF and MDI? From external *.exe? Pin
Pete O'Hanlon25-Feb-09 21:38
mvePete O'Hanlon25-Feb-09 21:38 
GeneralRe: WPF and MDI? From external *.exe? Pin
softwarejaeger26-Feb-09 7:13
softwarejaeger26-Feb-09 7:13 
GeneralRe: WPF and MDI? From external *.exe? Pin
Pete O'Hanlon26-Feb-09 9:28
mvePete O'Hanlon26-Feb-09 9:28 
QuestionINotifyPropertyChanged and ObservableCollection question Pin
BlitzPackage25-Feb-09 10:29
BlitzPackage25-Feb-09 10:29 
AnswerRe: INotifyPropertyChanged and ObservableCollection question Pin
Pete O'Hanlon25-Feb-09 11:27
mvePete O'Hanlon25-Feb-09 11:27 
GeneralRe: INotifyPropertyChanged and ObservableCollection question Pin
BlitzPackage25-Feb-09 13:16
BlitzPackage25-Feb-09 13:16 
GeneralRe: INotifyPropertyChanged and ObservableCollection question Pin
Pete O'Hanlon25-Feb-09 21:31
mvePete O'Hanlon25-Feb-09 21:31 
QuestionNot able to set the default style for the controls with generic.xaml Pin
salon24-Feb-09 20:33
salon24-Feb-09 20:33 
AnswerRe: Not able to set the default style for the controls with generic.xaml Pin
Mark Salsbery25-Feb-09 10:16
Mark Salsbery25-Feb-09 10:16 
GeneralRe: Not able to set the default style for the controls with generic.xaml Pin
salon25-Feb-09 17:21
salon25-Feb-09 17:21 
GeneralRe: Not able to set the default style for the controls with generic.xaml Pin
Mark Salsbery25-Feb-09 21:20
Mark Salsbery25-Feb-09 21:20 
GeneralRe: Not able to set the default style for the controls with generic.xaml Pin
salon25-Feb-09 23:20
salon25-Feb-09 23:20 
GeneralRe: Not able to set the default style for the controls with generic.xaml Pin
Mark Salsbery26-Feb-09 7:30
Mark Salsbery26-Feb-09 7:30 
GeneralRe: Not able to set the default style for the controls with generic.xaml Pin
salon26-Feb-09 17:47
salon26-Feb-09 17:47 
GeneralRe: Not able to set the default style for the controls with generic.xaml Pin
Derek Greer31-May-09 5:28
Derek Greer31-May-09 5:28 
GeneralRe: Not able to set the default style for the controls with generic.xaml Pin
salon31-May-09 18:11
salon31-May-09 18:11 
QuestionFill tab items with separated code Pin
Fredrik__24-Feb-09 12:32
Fredrik__24-Feb-09 12:32 
I’ve just started to build the UI for a quite big WPF-application, and the skeleton of the program will be built with tabs to separate each section of the program. So my question is: what is a proper way to manage all the code inside the TabItem-tags? There will be a lot of UI-code inside the tags (and a lot of code behind as well) so I’m wondering if I can build the UI and the code behind for each TabItem in a separate file and then include the file inside the TabItems?

I’ve been thinking a lot about WPF-pages, but I don’t know how to load them inside a TabItem (I don't even know if it's possibel). But that’s just me thinking, what’s your opinions?

My main file will look something like this:

<StackPanel>

<TabControl TabStripPlacement="Top">

<TabItem Header="Tab1" IsSelected="True">
<!-- Include Tab1 info -->
</TabItem>

<TabItem Header="Tab2">
<!-- Include Tab2 info-->
</TabItem>

<TabItem Header="Tab3">
<!-- Include Tab3 info -->
</TabItem>

</TabControl>

</StackPanel>

Thanks!

// Fredrik
AnswerRe: Fill tab items with separated code Pin
Gideon Engelberth24-Feb-09 15:20
Gideon Engelberth24-Feb-09 15:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.